From 0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 21 Dec 2007 14:56:38 +0000 Subject: Fixed inventory size not matching the size assumed by eAthena and related memory corruption and increased default chat log length. --- src/localplayer.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index 8269e29e..b19a0c3f 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -24,8 +24,6 @@ #ifndef _TMW_LOCALPLAYER_H #define _TMW_LOCALPLAYER_H -#include - #include "player.h" // TODO move into some sane place... @@ -205,7 +203,7 @@ class LocalPlayer : public Player float mLastAttackTime; /**< Used to synchronize the charge dialog */ - std::auto_ptr mInventory; + Inventory *mInventory; protected: void walk(unsigned char dir); -- cgit v1.2.3-70-g09d2