summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-14 00:50:34 +0000
committerrubidium <rubidium@openttd.org>2007-02-14 00:50:34 +0000
commitf7783212b1540303c801c8024b3ea9e42fef8f0a (patch)
tree9253f5948951566e62b50bf438df6861d23dd6e0 /src
parent458b564726113e9e0789dc0ad14c534b7affe473 (diff)
downloadopenttd-f7783212b1540303c801c8024b3ea9e42fef8f0a.tar.xz
(svn r8721) -Fix (8715): road vehicles could not turn around properly
Diffstat (limited to 'src')
-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) {