summaryrefslogtreecommitdiff
path: root/src/being/actor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/actor.h')
-rw-r--r--src/being/actor.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/actor.h b/src/being/actor.h
index 0b83e46be..72a9810ee 100644
--- a/src/being/actor.h
+++ b/src/being/actor.h
@@ -76,8 +76,7 @@ class Actor notfinal
/**
* Sets the pixel position of this actor.
*/
- virtual void setPixelPositionF(const Vector &restrict pos) restrict2
- { mPos = pos; }
+ virtual void setPixelPositionF(const Vector &restrict pos) restrict2;
/**
* Returns the pixels X coordinate of the actor.
@@ -128,6 +127,9 @@ class Actor notfinal
const Map* getMap() const A_WARN_UNUSED
{ return mMap; }
+ int mPixelX;
+ int mPixelY;
+
protected:
Actor();