Author: grumbel
Date: 2008-07-03 00:59:59 +0200 (Thu, 03 Jul 2008)
New Revision: 3634
Modified:
trunk/pingus/src/server_event.cpp
Log:
- fixded crash on inconsistent demo
Modified: trunk/pingus/src/server_event.cpp
===================================================================
--- trunk/pingus/src/server_event.cpp 2008-07-02 22:56:57 UTC (rev 3633)
+++ trunk/pingus/src/server_event.cpp 2008-07-02 22:59:59 UTC (rev 3634)
@@ -150,9 +150,9 @@
case PINGU_ACTION_EVENT:
{
Pingu* pingu = server->get_world()->get_pingus()->get_pingu(pingu_id);
- std::cout << "Apply: " << pos << " == " << pingu->get_pos() <<
std::endl;
if (pingu)
{
+ std::cout << "Apply: " << pos << " == " << pingu->get_pos() <<
std::endl;
server->send_pingu_action_event(pingu,
pingu_action);
}
_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs