1
0
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:
Ivan Savenko
2024-08-26 21:25:39 +00:00
parent 55fd7bd7aa
commit 408a632002
19 changed files with 141 additions and 118 deletions

View File

@@ -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;
}