Adding of _t to (u)int types, and WChar to char32_t

See: eaae0bb5e
This commit is contained in:
Jonathan G Rennison
2024-01-07 16:41:53 +00:00
parent 55d78a23be
commit 97e6f3062e
655 changed files with 7555 additions and 7555 deletions

View File

@@ -60,7 +60,7 @@ int8_t SaveHighScoreValue(const Company *c)
if (CheatHasBeenUsed()) return -1;
auto &highscores = _highscore_table[SP_CUSTOM];
uint16 score = c->old_economy[0].performance_history;
uint16_t score = c->old_economy[0].performance_history;
auto it = std::find_if(highscores.begin(), highscores.end(), [&score](auto &highscore) { return highscore.score <= score; });