src/ai/api/ai_tilelist.cpp
branchnoai
changeset 9723 eee46cb39750
parent 9599 949374e83b78
child 9757 5cdc14959fb6
equal deleted inserted replaced
9722:ebf0ece7d8f6 9723:eee46cb39750
     3 /** @file ai_tilelist.cpp handles all functions of the AITileList class */
     3 /** @file ai_tilelist.cpp handles all functions of the AITileList class */
     4 
     4 
     5 #include "ai_tilelist.hpp"
     5 #include "ai_tilelist.hpp"
     6 
     6 
     7 #include "../../landscape.h"
     7 #include "../../landscape.h"
       
     8 #include "../../map_func.h"
     8 
     9 
     9 void AITileList::FixRectangleSpan(TileIndex &t1, TileIndex &t2)
    10 void AITileList::FixRectangleSpan(TileIndex &t1, TileIndex &t2)
    10 {
    11 {
    11 	uint x1 = ::TileX(t1);
    12 	uint x1 = ::TileX(t1);
    12 	uint x2 = ::TileX(t2);
    13 	uint x2 = ::TileX(t2);