equal
deleted
inserted
replaced
108 |
108 |
109 if (proc >= 0) _town_draw_tile_procs[proc](ti); |
109 if (proc >= 0) _town_draw_tile_procs[proc](ti); |
110 } |
110 } |
111 } |
111 } |
112 |
112 |
113 static uint GetSlopeZ_Town(const TileInfo* ti) |
113 static uint GetSlopeZ_Town(TileIndex tile, uint x, uint y) |
114 { |
114 { |
115 return ti->z + (ti->tileh == SLOPE_FLAT ? 0 : TILE_HEIGHT); |
115 return GetTileMaxZ(tile); |
116 } |
116 } |
117 |
117 |
118 static Slope GetSlopeTileh_Town(TileIndex tile, Slope tileh) |
118 static Slope GetSlopeTileh_Town(TileIndex tile, Slope tileh) |
119 { |
119 { |
120 return SLOPE_FLAT; |
120 return SLOPE_FLAT; |