diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index 79ba49b4..8b631d56 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -992,12 +992,6 @@ int main(int argc, char *argv[]) { state = STATE_EXIT; } - else if (state != STATE_FORCE_QUIT) - { - //TODO: solve this problem - delete gui; // Crashes otherwise - gui = new Gui(graphics); - } break; case STATE_SWITCH_CHARACTER: |