(svn r21879) -Codechange: reset vehicle's GOINGUP/DOWN bits when it crashes
This commit is contained in:
@@ -2780,7 +2780,7 @@ uint Train::Crash(bool flooded)
|
||||
HideFillingPercent(&this->fill_percent_te_id);
|
||||
}
|
||||
|
||||
pass += Vehicle::Crash(flooded);
|
||||
pass += this->GroundVehicleBase::Crash(flooded);
|
||||
|
||||
this->crash_anim_pos = flooded ? 4000 : 1; // max 4440, disappear pretty fast when flooded
|
||||
return pass;
|
||||
|
Reference in New Issue
Block a user