summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-19 15:17:47 +0000
committerrubidium <rubidium@openttd.org>2009-09-19 15:17:47 +0000
commitca91a97826ad5de23855d0fe9a219f4889a8cd9e (patch)
tree87928a5a55ff401ea65443b8d291f609e9b46cf8 /src/rail_gui.cpp
parent89df436f84707182456461e3259e053303feb846 (diff)
downloadopenttd-ca91a97826ad5de23855d0fe9a219f4889a8cd9e.tar.xz
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 7822338b1..282154a19 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -636,7 +636,6 @@ struct BuildRailToolbarWindow : Window {
/** Configures the rail toolbar for railtype given
* @param railtype the railtype to display
- * @param w the window to modify
*/
void SetupRailToolbar(RailType railtype)
{
@@ -1933,10 +1932,10 @@ static void SetDefaultRailGui()
/**
* Updates the current signal variant used in the signal GUI
* to the one adequate to current year.
- * @param 0 needed to be called when a setting changes
+ * @param p needed to be called when a setting changes
* @return success, needed for settings
*/
-bool ResetSignalVariant(int32 = 0)
+bool ResetSignalVariant(int32 p = 0)
{
SignalVariant new_variant = (_cur_year < _settings_client.gui.semaphore_build_before ? SIG_SEMAPHORE : SIG_ELECTRIC);