mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix #1140
This commit is contained in:
parent
3e9e6aab2b
commit
db917ae435
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user