1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Removed remaining hardcoded objects

This commit is contained in:
Ivan Savenko
2023-01-23 15:27:01 +02:00
parent 62e127fb59
commit f8f6df02f3
14 changed files with 228 additions and 381 deletions

View File

@@ -79,9 +79,6 @@ void AIMemory::markObjectVisited(const CGObjectInstance * obj)
return;
}
if(dynamic_cast<const CGVisitableOPH *>(obj)) //we may want to visit it with another hero
return;
if(obj->ID == Obj::MONSTER)
return;