mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +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.id = id;
|
||||||
gh.player = player;
|
gh.player = player;
|
||||||
sendAndApply(&gh);
|
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)
|
void CGameHandler::changeObjPos(ObjectInstanceID objid, int3 newPos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user