From cd68076f45b1ae6332b5298f57240aa4b0ebf357 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 9 Apr 2008 14:49:07 +0000 Subject: Re-enabled non-functional item shortcut window, planned to be fixed for 0.0.25 (reverted change 3811). Somehow seems it's not drawing anything, not sure why. --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 4e9936e9..9e75090c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -48,7 +48,7 @@ #include "keyboardconfig.h" #include "game.h" #include "graphics.h" -//#include "itemshortcut.h" +#include "itemshortcut.h" #include "lockedarray.h" #include "localplayer.h" #include "log.h" @@ -308,7 +308,7 @@ void init_engine(const Options &options) graphics->_beginDraw(); // Initialize the item shortcuts. - //itemShortcut = new ItemShortcut(); + itemShortcut = new ItemShortcut(); gui = new Gui(graphics); state = UPDATE_STATE; /**< Initial game state */ @@ -337,7 +337,7 @@ void init_engine(const Options &options) void exit_engine() { // Before config.write() since it writes the shortcuts to the config - //delete itemShortcut; + delete itemShortcut; config.write(); -- cgit v1.2.3-70-g09d2