Merge pull request #2787 from Nordsoft91/fix-2766

This commit is contained in:
Nordsoft91
2023-09-10 11:27:27 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ public:
return intValue == DEFEAT;
}
EVictoryLossCheckResult invert()
EVictoryLossCheckResult invert() const
{
return EVictoryLossCheckResult(-intValue, messageToOthers, messageToSelf);
}
+1 -1
View File
@@ -384,7 +384,7 @@ void CMapLoaderH3M::readVictoryLossConditions()
cond.value = reader->readInt32();
specialVictory.effect.toOtherMessage.appendTextID("core.genrltxt.277");
specialVictory.onFulfill.appendTextID("core.genrltxt.6");
specialVictory.onFulfill.appendTextID("core.genrltxt.276");
specialVictory.trigger = EventExpression(cond);
mapHeader->victoryMessage.appendTextID("core.vcdesc.2");