summaryrefslogtreecommitdiff
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
commit95960c19a76e61f53ea0783b82588eb26f7193eb (patch)
treeaeb954a5da370e48ba3b74bb1dad50454bb50f60
parent5d2eaf5af0bbad6e4d5cdf8b2213367f66513d4f (diff)
downloadopenttd-95960c19a76e61f53ea0783b82588eb26f7193eb.tar.xz
(svn r1614) Fix: Signals were not updated correctly when the vehicle drive side was changed
-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)