mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(svn r3788) Fix (harmless) typo in r3784
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user