forked from mirror/OpenTTD
(svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned...
This commit is contained in:
@@ -1399,7 +1399,7 @@ bool AfterLoadGame()
|
||||
|
||||
switch (gcf_res) {
|
||||
case GLC_COMPATIBLE: _switch_mode_errorstr = STR_NEWGRF_COMPATIBLE_LOAD_WARNING; break;
|
||||
case GLC_NOT_FOUND: _switch_mode_errorstr = STR_NEWGRF_DISABLED_WARNING; _pause_game = (byte)-1; break;
|
||||
case GLC_NOT_FOUND: _switch_mode_errorstr = STR_NEWGRF_DISABLED_WARNING; _pause_game = -1; break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user