summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/roadveh_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index b2642cd11..8ab8167af 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -1485,7 +1485,7 @@ again:
}
/* Set vehicle to second frame on the tile */
- CLRBIT(v->u.road.state, RVS_DRIVE_SIDE);
+ v->u.road.state = tmp & ~(1 << RVS_DRIVE_SIDE);
v->u.road.frame = 1;
if (newdir != v->direction) {