1
0
Fork 0

(svn r15199) -Fix (r15190): The south point of the south-most tile wasn't highlighted during terraforming.

release/0.7
Yexo 2009-01-21 22:35:07 +00:00
parent 3f38615af1
commit 0fa6e050e4
1 changed files with 2 additions and 2 deletions

View File

@ -1008,8 +1008,8 @@ static void ViewportAddLandscape()
_tile_type_procs[tt]->draw_tile_proc(&ti); _tile_type_procs[tt]->draw_tile_proc(&ti);
if ((x_cur == (int)MapMaxX() * TILE_SIZE && IsInsideMM(y_cur, 0, MapMaxY() * TILE_SIZE)) || if ((x_cur == (int)MapMaxX() * TILE_SIZE && IsInsideMM(y_cur, 0, MapMaxY() * TILE_SIZE + 1)) ||
(y_cur == (int)MapMaxY() * TILE_SIZE && IsInsideMM(x_cur, 0, MapMaxX() * TILE_SIZE))) { (y_cur == (int)MapMaxY() * TILE_SIZE && IsInsideMM(x_cur, 0, MapMaxX() * TILE_SIZE + 1))) {
TileIndex tile = TileVirtXY(x_cur, y_cur); TileIndex tile = TileVirtXY(x_cur, y_cur);
ti.tile = tile; ti.tile = tile;
ti.tileh = GetTileSlope(tile, &ti.z); ti.tileh = GetTileSlope(tile, &ti.z);