diff options
author | rubidium <rubidium@openttd.org> | 2010-01-04 18:39:46 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-04 18:39:46 +0000 |
commit | 9dfa2db455067bf3232da568b36f4522cf6029bb (patch) | |
tree | d4cfa4f1c330a065007da4b6303d192d73beb9c7 /src/ai/api/ai_tilelist.hpp | |
parent | 740585c219043f289c724777483555228f3691c1 (diff) | |
download | openttd-9dfa2db455067bf3232da568b36f4522cf6029bb.tar.xz |
(svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists
Diffstat (limited to 'src/ai/api/ai_tilelist.hpp')
-rw-r--r-- | src/ai/api/ai_tilelist.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ai/api/ai_tilelist.hpp b/src/ai/api/ai_tilelist.hpp index b30858b07..f3d0755e2 100644 --- a/src/ai/api/ai_tilelist.hpp +++ b/src/ai/api/ai_tilelist.hpp @@ -23,16 +23,6 @@ class AITileList : public AIAbstractList { public: static const char *GetClassName() { return "AITileList"; } -private: - /** - * Make sure t1.x is smaller than t2.x and t1.y is smaller than t2.y. - * They are swapped to ensure they are after calling this function. - * @param t1 one of the corners of the rectangle. - * @param t2 the other corner of the rectangle. - */ - void FixRectangleSpan(TileIndex &t1, TileIndex &t2); - -public: /** * Adds the rectangle between tile_from and tile_to to the to-be-evaluated tiles. * @param tile_from One corner of the tiles to add. |