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 | 80878a2c9b589a5acd83c8d00898cbafe6d35b12 (patch) | |
tree | 915ac61603fdff89b30ef313b84bd53e6229907a | |
parent | ab9af3b05d2b99a63b10a9923026916015788099 (diff) | |
download | openttd-80878a2c9b589a5acd83c8d00898cbafe6d35b12.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) |