1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Heroes placed on water in map will be automatically given boat

This commit is contained in:
Ivan Savenko
2023-06-19 22:01:18 +03:00
parent 738ace99cb
commit 3913b8e98c
21 changed files with 77 additions and 52 deletions

View File

@@ -682,7 +682,7 @@ void CGTownInstance::clearArmy() const
BoatId CGTownInstance::getBoatType() const
{
return town->shipyardBoat;
return town->faction->boatType;
}
int CGTownInstance::getMarketEfficiency() const