author | tron |
Wed, 08 Mar 2006 08:36:00 +0000 | |
changeset 3162 | 68efad70f8a4 |
parent 3161 | 0274072d39b4 |
child 3163 | 129a91e147b8 |
direction.h | file | annotate | diff | comparison | revisions |
--- a/direction.h Wed Mar 08 08:28:48 2006 +0000 +++ b/direction.h Wed Mar 08 08:36:00 2006 +0000 @@ -34,7 +34,7 @@ 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)