1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-06-16 18:11:45 +03:00
parent 5118a642bc
commit ece9982ca0
3 changed files with 3 additions and 3 deletions

View File

@@ -452,7 +452,7 @@ void CGHeroInstance::onHeroVisit(const CGHeroInstance * h) const
//Create a new boat for hero
NewObject no;
no.ID = Obj::BOAT;
no.subID = BoatId(EBoatId::BOAT_NEUTRAL);
no.subID = BoatId(EBoatId::CASTLE);
no.pos = CGBoat::translatePos(boatPos);
cb->sendAndApply(&no);