mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
fix boat assert
This commit is contained in:
@@ -1319,7 +1319,6 @@ void CGHeroInstance::setBoat(CGBoat* newBoat)
|
||||
if (newBoat)
|
||||
{
|
||||
boardedBoat = newBoat->id;
|
||||
attachTo(*newBoat);
|
||||
newBoat->setBoardedHero(this);
|
||||
}
|
||||
else if (boardedBoat.hasValue())
|
||||
|
||||
Reference in New Issue
Block a user