diff options
| author | Japa Illo | 2012-03-14 08:44:40 +0100 |
|---|---|---|
| committer | Japa Illo | 2012-03-14 08:44:40 +0100 |
| commit | 42de27ed582314bfb08fbf4ae61f6bdd8fb5fb8f (patch) | |
| tree | 9c5bdedd1ed6d541e64f5770da46442e4ae9af79 /SpriteObjects.cpp | |
| parent | dfae65496e4b4a591fdb8db9feda37dede714a89 (diff) | |
| download | stonesense-42de27ed582314bfb08fbf4ae61f6bdd8fb5fb8f.tar.gz stonesense-42de27ed582314bfb08fbf4ae61f6bdd8fb5fb8f.tar.bz2 stonesense-42de27ed582314bfb08fbf4ae61f6bdd8fb5fb8f.tar.xz | |
Fixed half-wall tops bring moved wrong when zoomed.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'SpriteObjects.cpp')
| -rw-r--r-- | SpriteObjects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SpriteObjects.cpp b/SpriteObjects.cpp index 9743666..31d7fb5 100644 --- a/SpriteObjects.cpp +++ b/SpriteObjects.cpp @@ -871,7 +871,7 @@ void c_sprite::draw_world_offset(int x, int y, int z, Block * b, int tileoffset, al_draw_scaled_bitmap(IMGObjectSheet,
TILEWIDTH * SPRITEFLOOR_CUTOFF, 0,
SPRITEWIDTH, SPRITEWIDTH,
- drawx+offset_x, drawy+offset_y-((SPRITEHEIGHT-WALL_CUTOFF_HEIGHT)/2),
+ drawx+offset_x, (drawy+offset_y-((SPRITEHEIGHT-WALL_CUTOFF_HEIGHT)/2))*config.scale,
SPRITEWIDTH*config.scale, SPRITEWIDTH*config.scale, 0);
}
else if ((chop && (halftile == HALFTILEYES)) || (!chop && (halftile == HALFTILENO)) || (!chop && (halftile == HALFTILECHOP)) || (halftile == HALFTILEBOTH))
|
