(svn r3788) Fix (harmless) typo in r3784
authortron
Wed, 08 Mar 2006 08:36:00 +0000
changeset 3162 5ff241ceadb3
parent 3161 c0c237a63373
child 3163 14e1eba3591d
(svn r3788) Fix (harmless) typo in r3784
direction.h
--- 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)