summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index 6464090c..84c159b7 100644
--- a/src/being.h
+++ b/src/being.h
@@ -443,7 +443,9 @@ class Being : public ActorSprite, public EventListener
/**
* Make the being look at a given pixel position.
*/
- void lookAt(const Vector &destPos);
+ void lookAt(const Vector &destVec);
+ void lookAt(const Position &destPos)
+ { lookAt(Vector(destPos.x, destPos.y)); }
protected:
/**