diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2004-12-28 13:02:23 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2004-12-28 13:02:23 +0000 |
commit | 89000aed97146ef5c9bed22c4c87179a18edfee2 (patch) | |
tree | 480fd4ed945dc2b2fec0061eb16818b3742d1af2 /src/game.cpp | |
parent | 5420f80ca8ceb37cbdd7f2f5c4a23f82f928df2e (diff) | |
download | mana-client-89000aed97146ef5c9bed22c4c87179a18edfee2.tar.gz mana-client-89000aed97146ef5c9bed22c4c87179a18edfee2.tar.bz2 mana-client-89000aed97146ef5c9bed22c4c87179a18edfee2.tar.xz mana-client-89000aed97146ef5c9bed22c4c87179a18edfee2.zip |
Fixed coding style.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index e378778c..104a1b84 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -33,6 +33,7 @@ #include "./gui/shop.h" #include "./gui/npc.h" #include "./gui/setup.h" +#include "./gui/stats.h" #include "./gui/ok_dialog.h" #include "./graphic/graphic.h" #include "./sound/sound.h" @@ -50,6 +51,7 @@ volatile bool refresh = false, action_time = false; int current_npc, server_tick; extern unsigned char screen_mode; Setup *setup; +StatsWindow *stats; #define MAX_TIME 10000 @@ -285,7 +287,8 @@ void do_input() { } if(key[KEY_S]) { - show_skill_dialog = !show_skill_dialog; + //show_skill_dialog = !show_skill_dialog; + stats = StatsWindow::create_statswindow(); action_time = false; } else if(key[KEY_I]) { inventoryWindow->setVisible(!inventoryWindow->isVisible()); |