equal
deleted
inserted
replaced
1374 |
1374 |
1375 void MarkTileDirty(int x, int y) |
1375 void MarkTileDirty(int x, int y) |
1376 { |
1376 { |
1377 int z = 0; |
1377 int z = 0; |
1378 Point pt; |
1378 Point pt; |
1379 if (IS_INT_INSIDE(x, 0, TILES_X*16) && IS_INT_INSIDE(y, 0, TILES_Y*16)) |
1379 if (IS_INT_INSIDE(x, 0, MapSizeX() * 16) && |
|
1380 IS_INT_INSIDE(y, 0, MapSizeY() * 16)) |
1380 z = GetTileZ(TILE_FROM_XY(x,y)); |
1381 z = GetTileZ(TILE_FROM_XY(x,y)); |
1381 pt = RemapCoords(x, y, z); |
1382 pt = RemapCoords(x, y, z); |
1382 |
1383 |
1383 MarkAllViewportsDirty( |
1384 MarkAllViewportsDirty( |
1384 pt.x - 31, |
1385 pt.x - 31, |