summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-21 14:56:38 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-12-21 14:56:38 +0000
commit0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4 (patch)
treef85809e3a6a4771e2c157e1fb1577877741b81b5 /src/localplayer.h
parent539af2ea0ce3245c41b4a4be989da35788f7b992 (diff)
downloadmana-0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4.tar.gz
mana-0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4.tar.bz2
mana-0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4.tar.xz
mana-0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4.zip
Fixed inventory size not matching the size assumed by eAthena and related
memory corruption and increased default chat log length.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h4
1 files changed, 1 insertions, 3 deletions
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 <memory>
-
#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<Inventory> mInventory;
+ Inventory *mInventory;
protected:
void walk(unsigned char dir);