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:
parent
b118060304
commit
6b447a4ae9
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user