mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Replaced most of accesses to CGObjectInstance::pos with anchorPoint()
This commit is contained in:
@ -145,7 +145,7 @@ void IBoatGenerator::getProblemText(MetaString &out, const CGHeroInstance *visit
|
||||
out.appendLocalString(EMetaText::ADVOB_TXT, 189);
|
||||
break;
|
||||
case NO_WATER:
|
||||
logGlobal->error("Shipyard without water at tile %s! ", getObject()->getPosition().toString());
|
||||
logGlobal->error("Shipyard without water at tile %s! ", getObject()->anchorPos().toString());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user