summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-17 21:33:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-17 21:33:43 +0300
commit293d5be21d3f23102ed6d507fea3dc56a5df8024 (patch)
tree12701e6acf8ae1ff4dcc0efdd21c528231585140 /src/being/being.h
parent17f2adad3ba9e6a5c64d2d923d9cbb190f234b6f (diff)
downloadmanaverse-293d5be21d3f23102ed6d507fea3dc56a5df8024.tar.gz
manaverse-293d5be21d3f23102ed6d507fea3dc56a5df8024.tar.bz2
manaverse-293d5be21d3f23102ed6d507fea3dc56a5df8024.tar.xz
manaverse-293d5be21d3f23102ed6d507fea3dc56a5df8024.zip
fix heights offset on spawn time.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index f6e2d3f49..8d7db49a5 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -231,8 +231,7 @@ class Being : public ActorSprite, public ConfigListener
/**
* Sets the tile x and y coord
*/
- void setTileCoords(const int x, const int y)
- { mX = x; mY = y; }
+ void setTileCoords(const int x, const int y);
/**
* Puts a "speech balloon" above this being for the specified amount
@@ -900,6 +899,8 @@ class Being : public ActorSprite, public ConfigListener
int getSortPixelY() const A_WARN_UNUSED
{ return static_cast<int>(mPos.y) - mYDiff - mSortOffsetY; }
+ void setMap(Map *const map);
+
protected:
/**
* Updates name's location.