From: Andy D. <kha...@us...> - 2007-09-27 22:11:13
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4326/client Modified Files: psmovement.cpp Log Message: - Un-reverted anti-sticking change with the correct fix to jumping. - Fixed the problem of terraformers not having their CD initialised. Index: psmovement.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/psmovement.cpp,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** psmovement.cpp 26 Sep 2007 20:57:48 -0000 1.23 --- psmovement.cpp 27 Sep 2007 22:11:14 -0000 1.24 *************** *** 566,570 **** // Add to existing velocity ! //linearMove->SetVelocity( csVector3(vel.move.x,0,vel.move.z) ); // Set rotation --- 566,571 ---- // Add to existing velocity ! if(vel.move.x != 0 || vel.move.z != 0) ! linearMove->SetVelocity( csVector3(vel.move.x,0,vel.move.z) ); // Set rotation |