mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix #1140
This commit is contained in:
@@ -2738,6 +2738,10 @@ void CGameHandler::giveHero(ObjectInstanceID id, PlayerColor player)
|
||||
gh.id = id;
|
||||
gh.player = player;
|
||||
sendAndApply(&gh);
|
||||
|
||||
//Reveal fow around new hero, especially released from Prison
|
||||
auto h = getHero(id);
|
||||
changeFogOfWar(h->pos, h->getSightRadius(), player, false);
|
||||
}
|
||||
|
||||
void CGameHandler::changeObjPos(ObjectInstanceID objid, int3 newPos)
|
||||
|
Reference in New Issue
Block a user