From: Matthias Braun Date: Sun, 13 Aug 2006 13:29:22 +0000 (+0000) Subject: nicer X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a6f91899727541436630403221324046486748c6;p=supertux.git nicer SVN-Revision: 4180 --- diff --git a/src/mainloop.cpp b/src/mainloop.cpp index 8baec7c72..d0b623693 100644 --- a/src/mainloop.cpp +++ b/src/mainloop.cpp @@ -68,7 +68,7 @@ MainLoop::push_screen(Screen* screen, ScreenFade* screen_fade) { this->next_screen.reset(screen); this->screen_fade.reset(screen_fade); - nextpush = nextpop != NULL; + nextpush = !nextpop; nextpop = false; speed = 1.0; }