(svn r7794) -Cleanup: Remove obsolete, never-used landscape rotation code. And spell obsolete correctly.

This commit is contained in:
peter1138
2007-01-03 09:45:07 +00:00
parent 96bede230b
commit a972c406dd
3 changed files with 5 additions and 99 deletions

View File

@@ -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;
}