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 | debabbbd9aac8ac119d8d09a907ae9f97a7eb471 (patch) | |
tree | 5841819315afbb068ecf4e0ec50dc7d3320852a1 /src/openttd.cpp | |
parent | 475f6ca3e397dcd0780fb3012149480953dfc637 (diff) | |
download | openttd-debabbbd9aac8ac119d8d09a907ae9f97a7eb471.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; } |