mirror of https://github.com/OpenTTD/OpenTTD
(svn r17911) -Codechange: bool * is a pointer, not a bool
parent
fe78cd77bb
commit
bcb33b50ac
|
@ -28,7 +28,7 @@ static const uint MAX_ARTICULATED_PARTS = 100; ///< Maximum of articulated parts
|
||||||
* @param mirrored Returns whether the part shall be flipped.
|
* @param mirrored Returns whether the part shall be flipped.
|
||||||
* @return engine to add or INVALID_ENGINE
|
* @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);
|
assert(front == NULL || front->engine_type == front_type);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue