[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3609 - trunk/pingus/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3609 - trunk/pingus/src |
Date: |
Tue, 1 Jul 2008 03:57:59 +0200 |
Author: grumbel
Date: 2008-07-01 03:57:59 +0200 (Tue, 01 Jul 2008)
New Revision: 3609
Modified:
trunk/pingus/src/demo_session.cpp
Log:
Exit handling in demo playback
Modified: trunk/pingus/src/demo_session.cpp
===================================================================
--- trunk/pingus/src/demo_session.cpp 2008-07-01 01:43:36 UTC (rev 3608)
+++ trunk/pingus/src/demo_session.cpp 2008-07-01 01:57:59 UTC (rev 3609)
@@ -75,9 +75,15 @@
{
UNUSED_ARG(delta);
+ if (server->is_finished())
+ {
+ ScreenManager::instance()->pop_screen();
+ }
+ else
+ {
// FIXME: Duplicate all timing code here?!
- if (!pause)
+ if (!pause)
{
if (fast_forward)
{
@@ -93,6 +99,7 @@
update_demo();
}
}
+ }
}
void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3609 - trunk/pingus/src,
grumbel at BerliOS <=