summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index ac33e8bd5..10e134e9d 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -143,7 +143,7 @@ void MapLayer::draw(Graphics *const graphics,
}
else
{
- graphics->drawImagePattern(img, px, py,
+ graphics->drawPattern(img, px, py,
width, img->mBounds.h);
}
}
@@ -459,7 +459,7 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY,
}
else
{
- graphics->drawImagePattern(img, px, py,
+ graphics->drawPattern(img, px, py,
width, img->mBounds.h);
}
}