1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

* minor changes

This commit is contained in:
mateuszb
2009-07-31 11:20:53 +00:00
parent 8e63c73cf8
commit 586957b749
4 changed files with 17 additions and 62 deletions

View File

@@ -285,7 +285,7 @@ void SetObjectProperty::applyCl( CClient *cl )
//inform all players that see this object
for(std::map<ui8,CGameInterface *>::const_iterator it = cl->playerint.begin(); it != cl->playerint.end(); ++it)
{
//if(cl->gs->isVisible(cl->gs->map->objects[id]), it->first)
if(GS(cl)->isVisible(GS(cl)->map->objects[id], it->first))
INTERFACE_CALL_IF_PRESENT(it->first, objectPropertyChanged, this);
}
}