summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
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.cpp
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.cpp')
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index af047775..2d9da036 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -53,6 +53,7 @@ LocalPlayer::LocalPlayer(Uint32 id, Uint16 job, Map *map):
LocalPlayer::~LocalPlayer()
{
+ delete mInventory;
}
void LocalPlayer::logic()