summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 5cc75fa1..30d91e59 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -30,7 +30,6 @@
#include "./gui/inventory.h"
#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"
@@ -49,7 +48,7 @@ int current_npc, server_tick;
extern unsigned char screen_mode;
int fps = 0, frame = 0;
-Setup *setup = NULL;
+//Setup *setupWindow = NULL;
OkDialog *deathNotice = NULL;
#define MAX_TIME 10000
@@ -218,6 +217,10 @@ void do_input()
skillDialog->setVisible(!skillDialog->isVisible());
used = true;
}
+ else if (keysym.sym == SDLK_c) {
+ setupWindow->setVisible(true);
+ used = true;
+ }
}
if (event.key.keysym.sym == SDLK_ESCAPE)