From 54ac35bc5a1484757efeae9b342469b9a00fe2a2 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Thu, 18 Oct 2007 19:00:38 +0000 Subject: Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. --- src/localplayer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index ff7bf0b7..6349f7ed 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -141,8 +141,6 @@ class LocalPlayer : public Player virtual void drawName(Graphics *, int, int) {}; - virtual Type getType() const; - void clearInventory(); Item* getInvItem(int index); @@ -305,6 +303,7 @@ class LocalPlayer : public Player float mLastAttackTime; /**< Used to synchronize the charge dialog */ std::auto_ptr mInventory; + std::auto_ptr mEquipment; protected: void walk(unsigned char dir); -- cgit v1.2.3-70-g09d2