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

- blocked retreating from castle. Escape Tunnel implemented.

- fixed crash when player have no hero (like castle defence)
- minor fixes
This commit is contained in:
Ivan Savenko
2010-08-19 11:03:33 +00:00
parent 8319e5e703
commit d732565002
6 changed files with 34 additions and 7 deletions

View File

@@ -159,7 +159,7 @@ DLL_EXPORT void FoWChange::applyGs( CGameState *gs )
case 53://mine
case 98://town
case 220:
if(vstd::contains(team->players, player)) //check owned observators
if(vstd::contains(team->players, gs->map->objects[i]->tempOwner)) //check owned observators
gs->map->objects[i]->getSightTiles(tilesRevealed);
break;
}