diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-25 22:49:47 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-25 22:49:47 +0000 |
commit | 70edbd9eb40f7f36b1bd5a55909d21ca54d10f41 (patch) | |
tree | 53750a0b00a4d2a4be828366d44fe69151756c2e /src | |
parent | e39c95924ffe9637970a778e0a006fcc245c7949 (diff) | |
download | mana-client-70edbd9eb40f7f36b1bd5a55909d21ca54d10f41.tar.gz mana-client-70edbd9eb40f7f36b1bd5a55909d21ca54d10f41.tar.bz2 mana-client-70edbd9eb40f7f36b1bd5a55909d21ca54d10f41.tar.xz mana-client-70edbd9eb40f7f36b1bd5a55909d21ca54d10f41.zip |
Fix forgotten commit and increased static inventory size to 100 for now.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/gui/inventory.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index c5cc2a48..b1449cb6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -284,7 +284,7 @@ void do_input() { show_skill_dialog = !show_skill_dialog; action_time = false; } else if(key[KEY_I]) { - inventory.toggle(); + inventory.setVisible(!inventory.isVisible()); action_time = false; } else if(key[KEY_K]) { show_skill_list_dialog = !show_skill_dialog; diff --git a/src/gui/inventory.h b/src/gui/inventory.h index 29c61c72..a83a1f80 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -33,7 +33,7 @@ #include "../net/network.h" #include "gui.h" -#define INVENTORY_SIZE 10 +#define INVENTORY_SIZE 100 struct itemHolder { // the holder of a item int id; // the id of the item |