diff options
author | tron <tron@openttd.org> | 2006-03-08 08:36:00 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-08 08:36:00 +0000 |
commit | af69dba514a8c59866c3c5974dc41be3af2cab68 (patch) | |
tree | 915ac61603fdff89b30ef313b84bd53e6229907a | |
parent | 2181a72e9ee5db7aa568dd25172e1355e76b4f45 (diff) | |
download | openttd-af69dba514a8c59866c3c5974dc41be3af2cab68.tar.xz |
(svn r3788) Fix (harmless) typo in r3784
-rw-r--r-- | direction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/direction.h b/direction.h index 4aed8bea3..49a2b6340 100644 --- a/direction.h +++ b/direction.h @@ -34,7 +34,7 @@ typedef enum DirDiff { static inline DirDiff DirDifference(Direction d0, Direction d1) { - return (DirDiff)(d0 + 8 - d1) % 8; + return (DirDiff)((d0 + 8 - d1) % 8); } static inline DirDiff ChangeDirDiff(DirDiff d, DirDiff delta) |