projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f97a39
)
fix stupid crashbug when quitting from subscreen
author
Matthias Braun
<matze@braunis.de>
Wed, 19 Apr 2006 12:40:26 +0000
(12:40 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 19 Apr 2006 12:40:26 +0000
(12:40 +0000)
SVN-Revision: 3367
src/mainloop.cpp
patch
|
blob
|
history
diff --git
a/src/mainloop.cpp
b/src/mainloop.cpp
index
98c8efc
..
4e7199d
100644
(file)
--- a/
src/mainloop.cpp
+++ b/
src/mainloop.cpp
@@
-84,6
+84,7
@@
MainLoop::quit(ScreenFade* screen_fade)
for(std::vector<Screen*>::iterator i = screen_stack.begin();
i != screen_stack.end(); ++i)
delete *i;
+ screen_stack.clear();
exit_screen(screen_fade);
}