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 /src | |
parent | b2c5d720fdf88e7e5e8ff6921e9d01cfe009a074 (diff) | |
download | mana-client-8d78f2422af168eaa5ec3db4b2da075e337f1462.tar.gz mana-client-8d78f2422af168eaa5ec3db4b2da075e337f1462.tar.bz2 mana-client-8d78f2422af168eaa5ec3db4b2da075e337f1462.tar.xz mana-client-8d78f2422af168eaa5ec3db4b2da075e337f1462.zip |
Forgot to add new tilesets to Makefile.am and made another small fix to spritev0.0.17
rendering.
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |