From 789b76d36b21f23c8654cf5767880894b3dab68f Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 3 Jan 2007 09:45:07 +0000 Subject: (svn r7794) -Cleanup: Remove obsolete, never-used landscape rotation code. And spell obsolete correctly. --- src/functions.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/functions.h') 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; } -- cgit v1.2.3-54-g00ecf