diff options
author | truebrain <truebrain@openttd.org> | 2012-01-02 13:44:30 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2012-01-02 13:44:30 +0000 |
commit | 0d929e877faf9572a80803db382ab973702e02c0 (patch) | |
tree | f19cea6421726b0719b1cfc7c403a8ac6262bc60 /src/articulated_vehicles.cpp | |
parent | 19004a77f843fccd0850cc980dd2c80de6d81462 (diff) | |
download | openttd-0d929e877faf9572a80803db382ab973702e02c0.tar.xz |
(svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible
Diffstat (limited to 'src/articulated_vehicles.cpp')
-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 0d5d2b2fc..a9b678903 100644 --- a/src/articulated_vehicles.cpp +++ b/src/articulated_vehicles.cpp @@ -397,6 +397,6 @@ void AddArticulatedParts(Vehicle *first) if (flip_image) v->spritenum++; - VehicleMove(v, false); + VehicleUpdatePosition(v); } } |