From: <Jef...@us...> - 2009-03-25 00:56:24
|
Revision: 19526 http://bzflag.svn.sourceforge.net/bzflag/?rev=19526&view=rev Author: JeffM2501 Date: 2009-03-25 00:56:19 +0000 (Wed, 25 Mar 2009) Log Message: ----------- stop falling when we hit the ground, not when we just get below it ( thanks William Hahne ) Modified Paths: -------------- trunk/bzflag/src/bzflag/Player.cxx Modified: trunk/bzflag/src/bzflag/Player.cxx =================================================================== --- trunk/bzflag/src/bzflag/Player.cxx 2009-03-25 00:10:55 UTC (rev 19525) +++ trunk/bzflag/src/bzflag/Player.cxx 2009-03-25 00:56:19 UTC (rev 19526) @@ -1295,7 +1295,7 @@ groundLimit = BZDB.eval(StateDatabase::BZDB_BURROWDEPTH); } // the velocity check is for when a Burrow flag is dropped - if ((predictedPos[2] < groundLimit) && (predictedVel[2] <= 0.0f)) { + if ((predictedPos[2] <= groundLimit) && (predictedVel[2] <= 0.0f)) { predictedPos[2] = groundLimit; predictedVel[2] = 0.0f; inputStatus &= ~PlayerState::Falling; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |