summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-04 22:50:07 +0000
committerrubidium <rubidium@openttd.org>2007-12-04 22:50:07 +0000
commit1c30d0b96678b90aa1fdba3b04abdb035f78acdb (patch)
tree8be008625423f80c09a97292d66eff91ac987834 /src/openttd.cpp
parentbe48614ef8278ec41995b99b30f236ec4a82e6b4 (diff)
downloadopenttd-1c30d0b96678b90aa1fdba3b04abdb035f78acdb.tar.xz
(svn r11573) -Codechange: pause games that miss GRFs by default and throw some warnings and disclaimers when you want to unpause it.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 1e7d03ee6..6a431e629 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1357,7 +1357,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; break;
+ case GLC_NOT_FOUND: _switch_mode_errorstr = STR_NEWGRF_DISABLED_WARNING; _pause_game = (byte)-1; break;
default: break;
}