projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No more count-to-infinity for the coins display
[supertux.git]
/
src
/
mainloop.cpp
diff --git
a/src/mainloop.cpp
b/src/mainloop.cpp
index
8baec7c
..
d0b6236
100644
(file)
--- 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);
{
this->next_screen.reset(screen);
this->screen_fade.reset(screen_fade);
- nextpush =
nextpop != NULL
;
+ nextpush =
!nextpop
;
nextpop = false;
speed = 1.0;
}
nextpop = false;
speed = 1.0;
}