diff options
author | dominik <dominik@openttd.org> | 2005-01-23 13:45:20 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2005-01-23 13:45:20 +0000 |
commit | 52ec917125543b29714bb9f998109eb72cf45dc6 (patch) | |
tree | aeb954a5da370e48ba3b74bb1dad50454bb50f60 | |
parent | ae792cedde23e4b1291bcde1b6835d3d07e624f1 (diff) | |
download | openttd-52ec917125543b29714bb9f998109eb72cf45dc6.tar.xz |
(svn r1614) Fix: Signals were not updated correctly when the vehicle drive side was changed
-rw-r--r-- | settings_gui.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/settings_gui.c b/settings_gui.c index 2ee835d89..4091005c1 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -167,8 +167,10 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e) MarkWholeScreenDirty(); break; case 11: /* Road side */ - if (_opt_mod_ptr->road_side != e->dropdown.index) // only change if setting changed + if (_opt_mod_ptr->road_side != e->dropdown.index) { // only change if setting changed DoCommandP(0, e->dropdown.index, 0, NULL, CMD_SET_ROAD_DRIVE_SIDE | CMD_MSG(STR_EMPTY)); + MarkWholeScreenDirty(); + } break; case 14: /* Town names */ if (_game_mode == GM_MENU) |