[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3374 - trunk/pingus/src/actions
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3374 - trunk/pingus/src/actions |
Date: |
Mon, 29 Oct 2007 04:31:11 +0100 |
Author: grumbel
Date: 2007-10-29 04:31:10 +0100 (Mon, 29 Oct 2007)
New Revision: 3374
Modified:
trunk/pingus/src/actions/faller.cpp
Log:
- fixed endless loop when jumper hits a bridge, still causes weirdness
Modified: trunk/pingus/src/actions/faller.cpp
===================================================================
--- trunk/pingus/src/actions/faller.cpp 2007-10-29 03:09:12 UTC (rev 3373)
+++ trunk/pingus/src/actions/faller.cpp 2007-10-29 03:31:10 UTC (rev 3374)
@@ -129,12 +129,12 @@
break;
}
// If the Pingu collided into something while moving up...
- // NB: +1 because Mover backs out of something it has collided with.
else // if (velocity.y < 0.0f)
{
// Don't make the Pingu go up any further.
move.y = 0.0f;
velocity.y = 0.0f;
+ break;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3374 - trunk/pingus/src/actions,
grumbel at BerliOS <=