diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-28 15:58:59 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-09-28 15:58:59 +0000 |
commit | d0ac5ca746dc2658ee6a7a8480fa84ad57b0eee5 (patch) | |
tree | 1865210b057df89e3e5fb165f7dbf768351e1cf9 /src/game.cpp | |
parent | f616a0e4736cc6f7b9b593b5579328469c3cc159 (diff) | |
download | mana-d0ac5ca746dc2658ee6a7a8480fa84ad57b0eee5.tar.gz mana-d0ac5ca746dc2658ee6a7a8480fa84ad57b0eee5.tar.bz2 mana-d0ac5ca746dc2658ee6a7a8480fa84ad57b0eee5.tar.xz mana-d0ac5ca746dc2658ee6a7a8480fa84ad57b0eee5.zip |
*** empty log message ***
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp index b6d21c5a..17a45ded 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -218,11 +218,7 @@ void do_input() { action(3, 0); action_time = false; } - if(key[KEY_F6] && action_time==true) { - inventory.toggle(); - action_time = false; - } - + if(key[KEY_ENTER]) { if(strcmp(speech, "")!=0) { chatlog.chat_send(char_info[0].name, speech); @@ -265,6 +261,9 @@ void do_input() { if(key[KEY_S]) { show_skill_dialog = !show_skill_dialog; action_time = false; + } else if(key[KEY_I]) { + inventory.toggle(); + action_time = false; } } |