mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix configurable reward for non-query scenrio
This commit is contained in:
parent
c4cf2a100b
commit
96420bfc05
@ -3612,9 +3612,9 @@ bool CGameHandler::buildStructure(ObjectInstanceID tid, BuildingID requestedID,
|
|||||||
sendAndApply(&fw);
|
sendAndApply(&fw);
|
||||||
|
|
||||||
if(t->visitingHero)
|
if(t->visitingHero)
|
||||||
visitCastleObjects(t, t->visitingHero);
|
objectVisited(t, t->visitingHero);
|
||||||
if(t->garrisonHero)
|
if(t->garrisonHero)
|
||||||
visitCastleObjects(t, t->garrisonHero);
|
objectVisited(t, t->garrisonHero);
|
||||||
|
|
||||||
checkVictoryLossConditionsForPlayer(t->tempOwner);
|
checkVictoryLossConditionsForPlayer(t->tempOwner);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user