(svn r3786) More work for DirDiff

This commit is contained in:
tron
2006-03-08 08:16:31 +00:00
parent 8b447de24c
commit 03536a32a1
4 changed files with 18 additions and 10 deletions

View File

@@ -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);
}