mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Rename int3::valid to isValid for consistency
This commit is contained in:
@@ -675,7 +675,7 @@ void CCastleBuildings::recreate()
|
||||
if(town->hasBuilt(BuildingID::SHIPYARD))
|
||||
{
|
||||
auto bayPos = town->bestLocation();
|
||||
if(!bayPos.valid())
|
||||
if(!bayPos.isValid())
|
||||
logGlobal->warn("Shipyard in non-coastal town!");
|
||||
std::vector <const CGObjectInstance *> vobjs = GAME->interface()->cb->getVisitableObjs(bayPos, false);
|
||||
//there is visitable obj at shipyard output tile and it's a boat or hero (on boat)
|
||||
|
||||
Reference in New Issue
Block a user