summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-05-10 15:20:25 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-05-10 15:20:25 +0000
commitcbf85500497bc22578d6cb09d8d8fca9470c2150 (patch)
tree5b3e41049f2544d9dc6cd12aafec5f71f7709584 /src
parent0bc81cb39f48fdade13cf964702072cd9a7e324d (diff)
downloadmana-client-cbf85500497bc22578d6cb09d8d8fca9470c2150.tar.gz
mana-client-cbf85500497bc22578d6cb09d8d8fca9470c2150.tar.bz2
mana-client-cbf85500497bc22578d6cb09d8d8fca9470c2150.tar.xz
mana-client-cbf85500497bc22578d6cb09d8d8fca9470c2150.zip
missed one file
Diffstat (limited to 'src')
-rw-r--r--src/engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index f1f06514..fc88aff4 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -376,8 +376,8 @@ void Engine::draw()
int sy = y - camera_y;
int absx = sx * 32 - offset_x;
int absy = sy * 32 - offset_y;
- if (itemDb.getItemInfo(floorItem->id)->getImage() > 0) {
- itemset->spriteset[itemDb.getItemInfo(
+ if (itemDb->getItemInfo(floorItem->id)->getImage() > 0) {
+ itemset->spriteset[itemDb->getItemInfo(
floorItem->id)->getImage() - 1]->draw(screen,
absx, absy);
}