mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fix configurable reward for non-query scenrio
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user