From 3818b6db81341b840201996c186bdc8ad5e456e9 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Wed, 4 Feb 2009 18:29:58 -0700 Subject: Moved mEquipment to the LocalPlayer class, since it's the only place that uses it anyways. Signed-off-by: Ira Rice --- src/localplayer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 4e0b205f..7f5596e4 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -31,6 +31,7 @@ #define INVENTORY_SIZE 102 #define STORAGE_SIZE 301 +class Equipment; class FloorItem; class ImageSet; class Inventory; @@ -234,6 +235,8 @@ class LocalPlayer : public Player /** Animated out of range target cursor. */ SimpleAnimation *mTargetCursorOutRange[NUM_TC]; + const std::auto_ptr mEquipment; + protected: void walk(unsigned char dir); -- cgit v1.2.3-70-g09d2