1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
This commit is contained in:
nordsoft 2023-09-09 14:27:51 +02:00
parent 7aef40dfb6
commit f6e3c6a487
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public:
return intValue == DEFEAT;
}
EVictoryLossCheckResult invert()
EVictoryLossCheckResult invert() const
{
return EVictoryLossCheckResult(-intValue, messageToOthers, messageToSelf);
}

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.278");
specialVictory.trigger = EventExpression(cond);
mapHeader->victoryMessage.appendTextID("core.vcdesc.2");