mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added TODO's for potential optimizations that I've discovered
This commit is contained in:
@@ -1231,7 +1231,7 @@ void RemoveObject::applyGs(CGameState *gs)
|
||||
|
||||
gs->map->instanceNames.erase(obj->instanceName);
|
||||
gs->map->objects[objectID.getNum()].dellNull();
|
||||
gs->map->calculateGuardingGreaturePositions();
|
||||
gs->map->calculateGuardingGreaturePositions();//FIXME: excessive, update only affected tiles
|
||||
}
|
||||
|
||||
static int getDir(const int3 & src, const int3 & dst)
|
||||
|
||||
Reference in New Issue
Block a user