diff options
author | peter1138 <peter1138@openttd.org> | 2008-03-04 12:14:34 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-03-04 12:14:34 +0000 |
commit | 3907ac518bebec78a7e7175992a01c33faf19a31 (patch) | |
tree | 5841819315afbb068ecf4e0ec50dc7d3320852a1 /src/openttd.cpp | |
parent | e1cc80b01cfba5b10af149f576c4a560ceb244f7 (diff) | |
download | openttd-3907ac518bebec78a7e7175992a01c33faf19a31.tar.xz |
(svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned...
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 22f7b433e..66dd0d3a5 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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; } |