summaryrefslogtreecommitdiff
path: root/src/maplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-23 20:17:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-23 20:17:46 +0300
commiteed93efa8aa8539b47f225b4abafe6d59bebe67d (patch)
tree222fa8dcc991d9603d94645ad66cedd488648042 /src/maplayer.cpp
parentbec451007ce9471004ec4a8357cea3cb7712de55 (diff)
downloadmanaplus-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.gz
manaplus-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.bz2
manaplus-eed93efa8aa8539b47f225b4abafe6d59bebe67d.tar.xz
manaplus-eed93efa8aa8539b47f225b4abafe6d59bebe67d.zip
Rename drawImage2 methods into drawImage.
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r--src/maplayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp
index 93434aca9..5779190a9 100644
--- a/src/maplayer.cpp
+++ b/src/maplayer.cpp
@@ -140,7 +140,7 @@ void MapLayer::draw(Graphics *const graphics,
if (!c)
{
- graphics->drawImage2(img, px, py);
+ graphics->drawImage(img, px, py);
}
else
{
@@ -456,7 +456,7 @@ void MapLayer::drawFringe(Graphics *const graphics, int startX, int startY,
if (!c)
{
- graphics->drawImage2(img, px, py);
+ graphics->drawImage(img, px, py);
}
else
{
@@ -798,7 +798,7 @@ void MapItem::draw(Graphics *const graphics, const int x, const int y,
{
BLOCK_START("MapItem::draw")
if (mImage)
- graphics->drawImage2(mImage, x, y);
+ graphics->drawImage(mImage, x, y);
switch (mType)
{