summaryrefslogtreecommitdiff
path: root/src/articulated_vehicles.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-10-31 08:15:46 +0000
committerpeter1138 <peter1138@openttd.org>2009-10-31 08:15:46 +0000
commitbcb33b50ac40f01d9fcc142c46cc333963f2d946 (patch)
treeeb634c4b261f80b28a6196e1863c1947bbd39199 /src/articulated_vehicles.cpp
parentfe78cd77bb2735ce4802b4603249e14750a959b3 (diff)
downloadopenttd-bcb33b50ac40f01d9fcc142c46cc333963f2d946.tar.xz
(svn r17911) -Codechange: bool * is a pointer, not a bool
Diffstat (limited to 'src/articulated_vehicles.cpp')
-rw-r--r--src/articulated_vehicles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/articulated_vehicles.cpp b/src/articulated_vehicles.cpp
index c2997b4f7..ccc929102 100644
--- a/src/articulated_vehicles.cpp
+++ b/src/articulated_vehicles.cpp
@@ -28,7 +28,7 @@ static const uint MAX_ARTICULATED_PARTS = 100; ///< Maximum of articulated parts
* @param mirrored Returns whether the part shall be flipped.
* @return engine to add or INVALID_ENGINE
*/
-static EngineID GetNextArticPart(uint index, EngineID front_type, Vehicle *front = NULL, bool *mirrored = false)
+static EngineID GetNextArticPart(uint index, EngineID front_type, Vehicle *front = NULL, bool *mirrored = NULL)
{
assert(front == NULL || front->engine_type == front_type);