summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/map.cpp2
2 files changed, 4 insertions, 1 deletions
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 <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++;