diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-10 17:37:19 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-10 17:37:19 +0000 |
commit | 8d78f2422af168eaa5ec3db4b2da075e337f1462 (patch) | |
tree | a80a78d1165b0604b8dba5efb9eddc3e0ed38a2d | |
parent | b2c5d720fdf88e7e5e8ff6921e9d01cfe009a074 (diff) | |
download | mana-0.0.17.tar.gz mana-0.0.17.tar.bz2 mana-0.0.17.tar.xz mana-0.0.17.zip |
Forgot to add new tilesets to Makefile.am and made another small fix to spritev0.0.17
rendering.
-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++; |