mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59:43 +01:00
Fix winning in No Death Mode saying "One trinkets"
While dying in No Death Mode was fixed to no longer say "One trinkets" in 2.3, if you win in No Death Mode with one trinket, the game would say "One trinkets". So to fix this, just slot a ternary in there. The code is already kind of bad anyways and is going to be refactored/de-STLed in the future regardless, so I'm not feeling too badly about shoving a ternary in there like that.
This commit is contained in:
parent
38b2213745
commit
e9351b4a00
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ static void menurender(void)
|
|||
std::string tempstring = "You rescued all the crewmates!";
|
||||
graphics.Print(0, 100, tempstring, tr, tg, tb, true);
|
||||
|
||||
tempstring = "And you found " + help.number_words(game.ndmresulttrinkets) + " trinkets.";
|
||||
tempstring = "And you found " + help.number_words(game.ndmresulttrinkets) + " trinket" + (game.ndmresulttrinkets == 1 ? "" : "s") + ".";
|
||||
graphics.Print(0, 110, tempstring, tr, tg, tb, true);
|
||||
|
||||
graphics.Print(0, 160, "A new trophy has been awarded and", tr, tg, tb, true);
|
||||
|
|
Loading…
Reference in a new issue