Author: grumbel
Date: 2008-07-01 05:40:29 +0200 (Tue, 01 Jul 2008)
New Revision: 3611
Modified:
trunk/pingus/src/demo_session.cpp
trunk/pingus/src/server_event.cpp
Log:
Indention fix and improved error msg
Modified: trunk/pingus/src/demo_session.cpp
===================================================================
--- trunk/pingus/src/demo_session.cpp 2008-07-01 02:49:21 UTC (rev 3610)
+++ trunk/pingus/src/demo_session.cpp 2008-07-01 03:40:29 UTC (rev 3611)
@@ -81,25 +81,25 @@
}
else
{
- // FIXME: Duplicate all timing code here?!
+ // FIXME: Duplicate all timing code here?!
if (!pause)
- {
- if (fast_forward)
{
- for (int i = 0; i < 4; ++i)
+ if (fast_forward)
{
+ for (int i = 0; i < 4; ++i)
+ {
+ server->update();
+ update_demo();
+ }
+ }
+ else
+ {
server->update();
update_demo();
}
}
- else
- {
- server->update();
- update_demo();
- }
}
- }
}
void
Modified: trunk/pingus/src/server_event.cpp
===================================================================
--- trunk/pingus/src/server_event.cpp 2008-07-01 02:49:21 UTC (rev 3610)
+++ trunk/pingus/src/server_event.cpp 2008-07-01 03:40:29 UTC (rev 3611)
@@ -137,7 +137,7 @@
}
else
{
- std::cout << "ServerEvent: DemoFile inconsistent with world" <<
std::endl;
+ std::cout << "ServerEvent: DemoFile inconsistent with world, pingu
" << pingu_id << " missing" << std::endl;
}
}
break;
_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs