From 98673c94b86e0930a8b5a1f816211835edf77a3c Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 25 Mar 2017 12:21:17 +0000 Subject: [PATCH] (svn r27827) -Codechange (r27819): Deduplicate code. (adf88) --- src/settings_gui.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 6cde709b06..0420ba15b3 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -36,8 +36,6 @@ #include "textfile_gui.h" #include "stringfilter_type.h" #include "querystring_gui.h" -#include "signs_func.h" -#include "station_func.h" #include @@ -534,9 +532,7 @@ struct GameOptionsWindow : Window { _gui_zoom = (ZoomLevel)(ZOOM_LVL_OUT_4X - index); UpdateCursorSize(); LoadStringWidthTable(); - UpdateAllSignVirtCoords(); - UpdateAllTownVirtCoords(); - UpdateAllStationVirtCoords(); + UpdateAllVirtCoords(); break; case WID_GO_BASE_GRF_DROPDOWN: