diff options
author | peter1138 <peter1138@openttd.org> | 2009-10-31 08:15:46 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-10-31 08:15:46 +0000 |
commit | bcb33b50ac40f01d9fcc142c46cc333963f2d946 (patch) | |
tree | eb634c4b261f80b28a6196e1863c1947bbd39199 /src | |
parent | fe78cd77bb2735ce4802b4603249e14750a959b3 (diff) | |
download | openttd-bcb33b50ac40f01d9fcc142c46cc333963f2d946.tar.xz |
(svn r17911) -Codechange: bool * is a pointer, not a bool
Diffstat (limited to 'src')
-rw-r--r-- | src/articulated_vehicles.cpp | 2 |
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); |