diff options
author | tron <tron@openttd.org> | 2006-03-08 08:16:31 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-08 08:16:31 +0000 |
commit | fa6632ec3240c1407668f55169d316c1c4b6bd45 (patch) | |
tree | d22cc6ddd9856b7d1f71491480efca03c24ec3c9 /disaster_cmd.c | |
parent | f0d82204e072437212b5f5a0dd699443346913a5 (diff) | |
download | openttd-fa6632ec3240c1407668f55169d316c1c4b6bd45.tar.xz |
(svn r3786) More work for DirDiff
Diffstat (limited to 'disaster_cmd.c')
-rw-r--r-- | disaster_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disaster_cmd.c b/disaster_cmd.c index 61590c47a..d053ff199 100644 --- a/disaster_cmd.c +++ b/disaster_cmd.c @@ -665,7 +665,7 @@ static void DisasterTick_5_and_6(Vehicle *v) return; } - v->direction = (v->direction + (GB(Random(), 0, 1) ? 2 : -2)) & 7; + v->direction = ChangeDir(v->direction, GB(Random(), 0, 1) ? DIRDIFF_90RIGHT : DIRDIFF_90LEFT); } |