summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-05 04:18:35 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-02-05 04:18:35 +0000
commit3c8a29048703a6f830061c8bd0965adde4adb706 (patch)
treed860fdb3cd2924c343f34ca988ec01776284c0b3 /src/localplayer.h
parentcfc9ed654330452405cf4a107ec55e3bfa6137b0 (diff)
downloadmana-3c8a29048703a6f830061c8bd0965adde4adb706.tar.gz
mana-3c8a29048703a6f830061c8bd0965adde4adb706.tar.bz2
mana-3c8a29048703a6f830061c8bd0965adde4adb706.tar.xz
mana-3c8a29048703a6f830061c8bd0965adde4adb706.zip
Made the player walk to items prior to picking them up.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 56814e05..fe87fbab 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -49,6 +49,7 @@ class LocalPlayer : public Player
void setNetwork(Network *network) { mNetwork = network; }
virtual void logic();
+ virtual void nextStep();
virtual Type getType() const;
@@ -140,6 +141,7 @@ class LocalPlayer : public Player
protected:
Network *mNetwork;
Being *mTarget;
+ FloorItem *mPickUpTarget;
bool mTrading;
};