summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/roadveh_cmd.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index aa4791bf7..88bdb5622 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -1407,14 +1407,6 @@ again:
if (new_dir != old_dir) {
v->direction = new_dir;
if (_settings_game.vehicle.roadveh_acceleration_model == AM_ORIGINAL) v->cur_speed -= v->cur_speed >> 2;
- if (old_dir != v->state) {
- /* The vehicle is in a road stop */
- v->UpdateInclination(false, true);
- /* Note, return here means that the frame counter is not incremented
- * for vehicles changing direction in a road stop. This causes frames to
- * be repeated. (XXX) Is this intended? */
- return true;
- }
}
/* If the vehicle is in a normal road stop and the frame equals the stop frame OR