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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user