diff options
author | rubidium <rubidium@openttd.org> | 2010-11-19 13:24:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-19 13:24:32 +0000 |
commit | 999246f63eb1d83a25363e27ea26c1cb640e3c93 (patch) | |
tree | 3e2ee83e81369f2fa418381ce1bd84963e5f40e4 /src/openttd.cpp | |
parent | 6d09f4a3cbb0ebf40b568026f47220f01449857c (diff) | |
download | openttd-999246f63eb1d83a25363e27ea26c1cb640e3c93.tar.xz |
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 73c3b2e5b..ef7e356ea 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1103,6 +1103,7 @@ void SwitchToMode(SwitchMode new_mode) if (_switch_mode_errorstr != INVALID_STRING_ID) { ShowErrorMessage(_switch_mode_errorstr, INVALID_STRING_ID, WL_CRITICAL); + _switch_mode_errorstr = INVALID_STRING_ID; } } |