summaryrefslogtreecommitdiff
path: root/src/elrail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elrail.cpp')
-rw-r--r--src/elrail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elrail.cpp b/src/elrail.cpp
index 08bd0f653..dce2c5bee 100644
--- a/src/elrail.cpp
+++ b/src/elrail.cpp
@@ -479,7 +479,7 @@ void DrawCatenary(const TileInfo *ti)
DrawCatenaryRailway(ti);
}
-int32 SettingsDisableElrail(int32 p1)
+bool SettingsDisableElrail(int32 p1)
{
Vehicle *v;
Company *c;
@@ -529,5 +529,5 @@ int32 SettingsDisableElrail(int32 p1)
* rails. It may have unintended consequences if that function is ever
* extended, though. */
ReinitGuiAfterToggleElrail(disable);
- return 0;
+ return true;
}