(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
This commit is contained in:
@@ -1060,7 +1060,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
|
||||
if (!ice) {
|
||||
DrawClearLandTile(ti, 3);
|
||||
} else {
|
||||
DrawGroundSprite(SPR_FLAT_SNOW_DESERT_TILE + _tileh_to_sprite[ti->tileh], PAL_NONE);
|
||||
DrawGroundSprite(SPR_FLAT_SNOW_DESERT_TILE + SlopeToSpriteOffset(ti->tileh), PAL_NONE);
|
||||
}
|
||||
|
||||
/* draw ramp */
|
||||
|
Reference in New Issue
Block a user