mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Minor formatting
This commit is contained in:
@@ -4429,7 +4429,7 @@ bool CGameHandler::hireHero(const CGObjectInstance *obj, ui8 hid, PlayerColor pl
|
||||
if (getTile(hr.tile)->isWater())
|
||||
{
|
||||
//Create a new boat for hero
|
||||
createObject(obj->visitablePos(), Obj::BOAT, BoatId(EBoatId::CASTLE));
|
||||
createObject(obj->visitablePos(), Obj::BOAT, nh->getBoatType().getNum());
|
||||
|
||||
hr.boatId = getTopObj(hr.tile)->id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user