summaryrefslogtreecommitdiff
path: root/settings_gui.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2005-01-23 13:45:20 +0000
committerdominik <dominik@openttd.org>2005-01-23 13:45:20 +0000
commit52ec917125543b29714bb9f998109eb72cf45dc6 (patch)
treeaeb954a5da370e48ba3b74bb1dad50454bb50f60 /settings_gui.c
parentae792cedde23e4b1291bcde1b6835d3d07e624f1 (diff)
downloadopenttd-52ec917125543b29714bb9f998109eb72cf45dc6.tar.xz
(svn r1614) Fix: Signals were not updated correctly when the vehicle drive side was changed
Diffstat (limited to 'settings_gui.c')
-rw-r--r--settings_gui.c4
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)