summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-17 11:45:53 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-17 11:45:53 +0530
commita660d9f8bb8aefeb80345f535d48ea26af865518 (patch)
tree90b1a293b4858bd712f78ee0d77e52a58287fb67 /crawl-ref
parent8d1fa5916d012588e2eaa62fcdcc62768dcb86e1 (diff)
downloadcrawl-ref-a660d9f8bb8aefeb80345f535d48ea26af865518.tar.gz
crawl-ref-a660d9f8bb8aefeb80345f535d48ea26af865518.zip
Remove unused you.youpos, fix comment on actor::move_to_pos.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/actor.h2
-rw-r--r--crawl-ref/source/player.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index eba31bc031..f480c6fab7 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -32,7 +32,7 @@ public:
// grids, such as mgrd.
virtual void moveto(const coord_def &c) = 0;
- // High-level actor movement. If in doubt, use this. Returns true if the
+ // High-level actor movement. If in doubt, use this. Returns false if the
// actor cannot be moved to the target, possibly because it is already
// occupied.
virtual bool move_to_pos(const coord_def &c) = 0;
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 81b0fe44d4..a9ef76f13c 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -62,8 +62,6 @@ public:
char max_level;
- coord_def youpos;
-
coord_def prev_move;
int hunger;