1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-03 13:01:33 +02:00

Fixed update view issue #301

This commit is contained in:
DjWarmonger 2010-06-03 06:18:12 +00:00
parent b118060304
commit 6b447a4ae9

View File

@ -1758,6 +1758,11 @@ void CGTownInstance::fightOver( const CGHeroInstance *h, BattleResult *result )
{
removeCapitols (h->getOwner());
cb->setOwner (id, h->tempOwner); //give control after checkout is done
FoWChange fw;
fw.player = h->tempOwner;
fw.mode = 1;
getSightTiles (fw.tiles); //update visibility for castle structures
cb->sendAndApply (&fw);
}
}