summaryrefslogtreecommitdiff
path: root/src/gui/inventory.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-25 21:27:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-25 21:27:53 +0000
commitd4564037ea7d174c4512b0c6de62359c5ca2de80 (patch)
tree04f60cbfcdd88365b406afda03fd3f6644ac4659 /src/gui/inventory.cpp
parent6476f87c63195cc5940b638ba946759f18b597fd (diff)
downloadmana-d4564037ea7d174c4512b0c6de62359c5ca2de80.tar.gz
mana-d4564037ea7d174c4512b0c6de62359c5ca2de80.tar.bz2
mana-d4564037ea7d174c4512b0c6de62359c5ca2de80.tar.xz
mana-d4564037ea7d174c4512b0c6de62359c5ca2de80.zip
Little initialization fix for show_inventory.
Diffstat (limited to 'src/gui/inventory.cpp')
-rw-r--r--src/gui/inventory.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/inventory.cpp b/src/gui/inventory.cpp
index 9d48f0fb..5c5f5782 100644
--- a/src/gui/inventory.cpp
+++ b/src/gui/inventory.cpp
@@ -31,6 +31,15 @@ DIALOG inventory_dialog[] = {
DIALOG_PLAYER *inventory_player;
+TmwInventory::TmwInventory()
+{
+ show_inventory = false;
+}
+
+TmwInventory::~TmwInventory()
+{
+}
+
/** Initialize inventory */
void TmwInventory::create(int tempxpos, int tempypos) {
itemset = load_datafile("./data/graphic/items.dat");