From 8d78f2422af168eaa5ec3db4b2da075e337f1462 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 10 Oct 2005 17:37:19 +0000 Subject: Forgot to add new tilesets to Makefile.am and made another small fix to sprite rendering. --- ChangeLog | 3 +++ src/map.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 81afcfc7..ef046dfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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++; -- cgit v1.2.3-70-g09d2