From bcb33b50ac40f01d9fcc142c46cc333963f2d946 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 31 Oct 2009 08:15:46 +0000 Subject: [PATCH] (svn r17911) -Codechange: bool * is a pointer, not a bool --- src/articulated_vehicles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/articulated_vehicles.cpp b/src/articulated_vehicles.cpp index c2997b4f7a..ccc929102a 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);