diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 4 | ||||
-rw-r--r-- | src/gui/window.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp index 789a13f6..6b73b8ca 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -532,10 +532,10 @@ void Game::handleInput() { setupWindow->action(gcn::ActionEvent(NULL, "cancel")); } - else if (guildWindow->isVisible()) +/* else if (guildWindow->isVisible()) { // TODO: Check if a dialog is open and close it if so - } + }*/ // Else, open the chat edit box else { diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 1e5dff50..24c9f850 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -169,9 +169,9 @@ Window::~Window() // Clean up Border images. for( int i = 0; i < 9; i++ ) { + delete border[i]; border[i] = NULL; } - delete border; } void Window::setWindowContainer(WindowContainer *wc) |