diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/map.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -11,6 +11,9 @@ * src/game.cpp, README, data/helps/commands.txt: Introduced new window shortcuts. * src/gui/status.cpp: Corrected position of job XP bar. + * src/data/graphics/tiles/Makefile.am: Forgot to add new tilesets + here. + * src/map.cpp: Another small fix to sprite rendering. 2005-10-09 Yohann Ferreira <bertram@cegetel.net> diff --git a/src/map.cpp b/src/map.cpp index 28c52192..37b7292a 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -118,7 +118,7 @@ Map::draw(Graphics *graphics, int scrollX, int scrollY, int layer) // tiles have been drawn if (layer == 1) { - while (si != mSprites.end() && (*si)->getPixelY() < y * 32) + while (si != mSprites.end() && (*si)->getPixelY() <= y * 32 - 32) { (*si)->draw(graphics, -scrollX, -scrollY); si++; |