mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r3788) Fix (harmless) typo in r3784
This commit is contained in:
parent
ab9af3b05d
commit
80878a2c9b
@ -34,7 +34,7 @@ typedef enum DirDiff {
|
|||||||
|
|
||||||
static inline DirDiff DirDifference(Direction d0, Direction d1)
|
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)
|
static inline DirDiff ChangeDirDiff(DirDiff d, DirDiff delta)
|
||||||
|
Loading…
Reference in New Issue
Block a user