(svn r26870) -Fix (r15190): since freeform edges the 'tile height' at southern edge * 8 pixels just 'south' of the edge tile would not be drawn and would as a result not be refreshed causing artefacts to remain there. This adds a virtual slope to level 0 so it can be redrawn appropriately. Loosely based on patch by ic111
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "tile_cmd.h"
|
||||
#include "command_func.h"
|
||||
#include "viewport_func.h"
|
||||
#include "slope_func.h"
|
||||
|
||||
#include "table/strings.h"
|
||||
#include "table/sprites.h"
|
||||
@@ -21,7 +22,7 @@
|
||||
|
||||
static void DrawTile_Void(TileInfo *ti)
|
||||
{
|
||||
DrawGroundSprite(SPR_SHADOW_CELL, PAL_NONE);
|
||||
DrawGroundSprite(SPR_FLAT_BARE_LAND + SlopeToSpriteOffset(ti->tileh), PALETTE_ALL_BLACK);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user