summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/actor.cc')
-rw-r--r--crawl-ref/source/actor.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/actor.cc b/crawl-ref/source/actor.cc
index 97aa4f928d..83dcc799aa 100644
--- a/crawl-ref/source/actor.cc
+++ b/crawl-ref/source/actor.cc
@@ -109,3 +109,8 @@ bool actor::check_res_magic(int power)
return (mrch2 < mrchance);
}
+
+void actor::set_position(const coord_def &c)
+{
+ position = c;
+}