pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] r4178 - branches/pingus-hanusz/src/actions


From: grumbel
Subject: [Pingus-CVS] r4178 - branches/pingus-hanusz/src/actions
Date: Sat, 13 Aug 2011 16:59:44 +0200

Author: grumbel
Date: 2011-08-13 16:59:44 +0200 (Sat, 13 Aug 2011)
New Revision: 4178

Modified:
   branches/pingus-hanusz/src/actions/faller.cpp
Log:
Don't let Pingus die when falling from heights


Modified: branches/pingus-hanusz/src/actions/faller.cpp
===================================================================
--- branches/pingus-hanusz/src/actions/faller.cpp       2011-08-13 14:59:24 UTC 
(rev 4177)
+++ branches/pingus-hanusz/src/actions/faller.cpp       2011-08-13 14:59:44 UTC 
(rev 4178)
@@ -110,11 +110,13 @@
               pingu->set_action(Actions::Drown);
             }
           // Did we stop too fast?
+#if 0
           else if (fabs(pingu->get_velocity().y) > deadly_velocity)
             {
               //std::cout << "Pingus splashed: " << pingu->get_velocity().y << 
" " << deadly_velocity << std::endl;
               pingu->set_action(Actions::Splashed);
             }
+#endif
           else
             {
               // This is where the jumper bug happens




reply via email to

[Prev in Thread] Current Thread [Next in Thread]