From d4564037ea7d174c4512b0c6de62359c5ca2de80 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 25 Dec 2004 21:27:53 +0000 Subject: Little initialization fix for show_inventory. --- src/gui/inventory.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gui/inventory.cpp') 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"); -- cgit v1.2.3-70-g09d2