diff options
author | frosch <frosch@openttd.org> | 2013-06-15 15:05:54 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-15 15:05:54 +0000 |
commit | bb308c5e30d373272811c0031b13eea46d79dba0 (patch) | |
tree | f7f11ee2f8c33669c74866142c9e7195d76161a3 /src/rail_gui.cpp | |
parent | e4e86620ddd6a94df6334fdac508e462538fb2b3 (diff) | |
download | openttd-bb308c5e30d373272811c0031b13eea46d79dba0.tar.xz |
(svn r25401) -Fix-ish: Add missing includes with prototypes to functions declared in the cpp file.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index aabcb5b3f..4fde260a6 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -33,6 +33,7 @@ #include "engine_base.h" #include "vehicle_func.h" #include "zoom_func.h" +#include "rail_gui.h" #include "station_map.h" #include "tunnelbridge_map.h" @@ -1874,7 +1875,7 @@ static void SetDefaultRailGui() * @param p needed to be called when a setting changes * @return success, needed for settings */ -bool ResetSignalVariant(int32 p = 0) +bool ResetSignalVariant(int32 p) { SignalVariant new_variant = (_cur_year < _settings_client.gui.semaphore_build_before ? SIG_SEMAPHORE : SIG_ELECTRIC); |