diff options
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r-- | src/flooritem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp index db779ad4..2c6d81c4 100644 --- a/src/flooritem.cpp +++ b/src/flooritem.cpp @@ -73,6 +73,7 @@ void FloorItem::draw(Graphics *graphics, int offsetX, int offsetY) const if (mAlpha != image->getAlpha()) image->setAlpha(mAlpha); - graphics->drawImage(image, mX * 32 + offsetX, mY * 32 + offsetY); + graphics->drawImage(image, mX * mMap->getTileWidth() + offsetX, + mY * mMap->getTileHeight() + offsetY); } } |