mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Fix
This commit is contained in:
parent
7aef40dfb6
commit
f6e3c6a487
@ -50,7 +50,7 @@ public:
|
||||
return intValue == DEFEAT;
|
||||
}
|
||||
|
||||
EVictoryLossCheckResult invert()
|
||||
EVictoryLossCheckResult invert() const
|
||||
{
|
||||
return EVictoryLossCheckResult(-intValue, messageToOthers, messageToSelf);
|
||||
}
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user