diff options
author | dominik <dominik@openttd.org> | 2004-08-13 19:18:53 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-08-13 19:18:53 +0000 |
commit | 3067b9ac635c69fc93692fcddda91bdb48d3414a (patch) | |
tree | 394c242c20bbfaad9c2b707989ed7c4632b7eb26 | |
parent | a14c0c1490564dcae1453137e1363914eda98e6b (diff) | |
download | openttd-3067b9ac635c69fc93692fcddda91bdb48d3414a.tar.xz |
(svn r43) Fix: [ 982666 ] max_loan in editor bug (truelight)
-rw-r--r-- | settings_gui.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/settings_gui.c b/settings_gui.c index ebdc3f09f..53e27f7a5 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -596,6 +596,11 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e) } DoCommandP(0, -1, _opt_mod_temp.diff_level, NULL, CMD_CHANGE_DIFFICULTY_LEVEL); DeleteWindow(w); + // If we are in the editor, we should reload the economy. + // This way when you load a game, the max loan and interest rate + // are loaded correctly. + if (_game_mode == GM_EDITOR) + StartupEconomy(); break; } case 11: // Cancel button - close window |