diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-09 16:27:05 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-10-09 16:27:05 +0000 |
commit | 2327c5a7c3b054e52b69286da906f8e5c4432d1c (patch) | |
tree | 28a566d4d54b8c046b18f18c1fb592c31f83f5dd /src/map.cpp | |
parent | ff4d98eeee5a5a799039549c6df885a5208b792f (diff) | |
download | mana-2327c5a7c3b054e52b69286da906f8e5c4432d1c.tar.gz mana-2327c5a7c3b054e52b69286da906f8e5c4432d1c.tar.bz2 mana-2327c5a7c3b054e52b69286da906f8e5c4432d1c.tar.xz mana-2327c5a7c3b054e52b69286da906f8e5c4432d1c.zip |
Fixed player names overlapping other players and more cleanups.
Diffstat (limited to 'src/map.cpp')
-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 37b7292a..28c52192 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 - 32) + while (si != mSprites.end() && (*si)->getPixelY() < y * 32) { (*si)->draw(graphics, -scrollX, -scrollY); si++; |