1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-18 12:09:10 +00:00

(svn r1614) Fix: Signals were not updated correctly when the vehicle drive side was changed

This commit is contained in:
dominik
2005-01-23 13:45:20 +00:00
parent ae792cedde
commit 52ec917125

View File

@@ -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)