mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix crash, fix invisible boat blocking the tile
This commit is contained in:
@@ -857,8 +857,7 @@ void CGameState::initHeroes()
|
||||
map->objects.emplace_back(boat);
|
||||
map->addBlockVisTiles(boat);
|
||||
|
||||
boat->hero = hero;
|
||||
hero->boat = boat;
|
||||
hero->attachToBoat(boat);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user