1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00
This commit is contained in:
Tomasz Zieliński 2023-06-07 17:29:07 +02:00
parent 3e9e6aab2b
commit db917ae435

View File

@ -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)