summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-23 09:48:14 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-23 09:48:14 +0000
commita30bb2e92405fb379db298f2996e1c0ecd3f4bbd (patch)
tree40f873fe391c9a2ff7001d7d0ecd0241e0e0cdf1 /src/main.cpp
parentcd95ffd1dccb44ee05968a57cae1787a63d700d2 (diff)
downloadMana-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.tar.gz
Mana-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.tar.bz2
Mana-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.tar.xz
Mana-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.zip
Fixed segfault on exit when OpenGL configuration changed.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
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: