diff options
author | smatz <smatz@openttd.org> | 2011-01-21 16:20:55 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-01-21 16:20:55 +0000 |
commit | e308c348f0f1dad5d18349aba5c19a2a4b372df3 (patch) | |
tree | 0820ee7eec787cc4745488959df4a7100b8e7107 /src/roadveh_cmd.cpp | |
parent | 46dfdfd72b08191d408ad1a1417d8077020893a7 (diff) | |
download | openttd-e308c348f0f1dad5d18349aba5c19a2a4b372df3.tar.xz |
(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashes
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r-- | src/roadveh_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index d084d37a8..59d979273 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -460,7 +460,7 @@ static Vehicle *EnumCheckRoadVehCrashTrain(Vehicle *v, void *data) uint RoadVehicle::Crash(bool flooded) { - uint pass = Vehicle::Crash(flooded); + uint pass = this->GroundVehicleBase::Crash(flooded); if (this->IsFrontEngine()) { pass += 1; // driver |