diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-12-21 14:56:38 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-12-21 14:56:38 +0000 |
commit | 0c531de47eae77ab9fb2ec7a1fd6fc2be1462ef4 (patch) | |
tree | f85809e3a6a4771e2c157e1fb1577877741b81b5 /src/gui | |
parent | 539af2ea0ce3245c41b4a4be989da35788f7b992 (diff) | |
download | mana-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/gui')
-rw-r--r-- | src/gui/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 7b888212..83dadbc9 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -57,7 +57,7 @@ InventoryWindow::InventoryWindow(): mUseButton = new Button("Use", "use", this); mDropButton = new Button("Drop", "drop", this); - mItems = new ItemContainer(player_node->mInventory.get()); + mItems = new ItemContainer(player_node->mInventory); mItems->addSelectionListener(this); mInvenScroll = new ScrollArea(mItems); |