summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-25 22:49:47 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-25 22:49:47 +0000
commit70edbd9eb40f7f36b1bd5a55909d21ca54d10f41 (patch)
tree53750a0b00a4d2a4be828366d44fe69151756c2e /src/game.cpp
parente39c95924ffe9637970a778e0a006fcc245c7949 (diff)
downloadmana-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/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 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;