summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-28 02:34:14 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-28 02:34:14 +0300
commit782f694b69a544ba1135148ce38dcd080e6a908a (patch)
tree6f024ebadc537c2c193c928fa815a2d2fa45cab4
parent74cb5bcd686590f9ec1fc409118ca34db7ebd579 (diff)
downloadplus-782f694b69a544ba1135148ce38dcd080e6a908a.tar.gz
plus-782f694b69a544ba1135148ce38dcd080e6a908a.tar.bz2
plus-782f694b69a544ba1135148ce38dcd080e6a908a.tar.xz
plus-782f694b69a544ba1135148ce38dcd080e6a908a.zip
call correct setMap from Being class.
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 645a71dac..82e4da2f9 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -3076,7 +3076,7 @@ void Being::setTileCoords(const int x, const int y)
void Being::setMap(Map *const map)
{
- Actor::setMap(map);
+ ActorSprite::setMap(map);
if (mMap)
mOffsetY = mMap->getHeightOffset(mX, mY);
}