mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Deprecate artifact-related building types
This commit is contained in:
@@ -44,13 +44,10 @@ int CGTownInstance::getSightRadius() const //returns sight distance
|
||||
|
||||
for(const auto & bid : builtBuildings)
|
||||
{
|
||||
if(bid.IsSpecialOrGrail())
|
||||
{
|
||||
auto height = town->buildings.at(bid)->height;
|
||||
if(ret < height)
|
||||
ret = height;
|
||||
auto height = town->buildings.at(bid)->height;
|
||||
if(ret < height)
|
||||
ret = height;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user