mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
* one more fix for r1145
This commit is contained in:
@ -1286,7 +1286,7 @@ int CGTownInstance::getSightRadious() const //returns sight distance
|
||||
if (subID == 2) //tower
|
||||
{
|
||||
if ((builtBuildings.find(17)) != builtBuildings.end()) //skyship
|
||||
return cb->getMapSize().first + cb->getMapSize().second;
|
||||
return cb->getMapSize().x + cb->getMapSize().y;
|
||||
else if ((builtBuildings.find(21)) != builtBuildings.end()) //lookout tower
|
||||
return 20;
|
||||
}
|
||||
|
Reference in New Issue
Block a user