diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 01:35:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 01:35:02 +0300 |
commit | 097ef639a433f5d87d675ee7551a1640788031bd (patch) | |
tree | 6d38ea5a0b134e402d8824e15ee215351b594360 /src/being/being.cpp | |
parent | 21b14e4b8708be1d9b804f61330ef7cd5521397d (diff) | |
download | manaplus-097ef639a433f5d87d675ee7551a1640788031bd.tar.gz manaplus-097ef639a433f5d87d675ee7551a1640788031bd.tar.bz2 manaplus-097ef639a433f5d87d675ee7551a1640788031bd.tar.xz manaplus-097ef639a433f5d87d675ee7551a1640788031bd.zip |
Rename actor functions getPosition and setPosition.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index bd09a36c2..c45616ee8 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -510,9 +510,9 @@ TargetCursorSizeT Being::getTargetCursorSize() const restrict2 return mInfo->getTargetCursorSize(); } -void Being::setPosition(const Vector &restrict pos) restrict2 +void Being::setPixelPositionF(const Vector &restrict pos) restrict2 { - Actor::setPosition(pos); + Actor::setPixelPositionF(pos); updateCoords(); @@ -1843,7 +1843,7 @@ void Being::logic() restrict2 - (mOldHeight + mOffsetY) * halfTile + offset2; // Update pixel coordinates - setPosition(static_cast<float>(mX * mapTileSize + setPixelPositionF(static_cast<float>(mX * mapTileSize + mapTileSize / 2 + xOffset), yOffset3); } |