summaryrefslogtreecommitdiff
path: root/src/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/functions.h')
-rw-r--r--src/functions.h6
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;
}