diff options
author | peter1138 <peter1138@openttd.org> | 2007-01-03 09:45:07 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-01-03 09:45:07 +0000 |
commit | 789b76d36b21f23c8654cf5767880894b3dab68f (patch) | |
tree | 6f03e2c6f82bcc7e06c4699d063c25ed5d37caeb /src/functions.h | |
parent | 8e625b8b427fb7ac72bbb0625df3e8b18c2c28a6 (diff) | |
download | openttd-789b76d36b21f23c8654cf5767880894b3dab68f.tar.xz |
(svn r7794) -Cleanup: Remove obsolete, never-used landscape rotation code. And spell obsolete correctly.
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/functions.h b/src/functions.h index 0529c1646..12490b10d 100644 --- a/src/functions.h +++ b/src/functions.h @@ -20,15 +20,9 @@ bool IsValidTile(TileIndex tile); static inline Point RemapCoords(int x, int y, int z) { -#if !defined(NEW_ROTATION) Point pt; pt.x = (y - x) * 2; pt.y = y + x - z; -#else - Point pt; - pt.x = (x + y) * 2; - pt.y = x - y - z; -#endif return pt; } |