From: Christian S. <blu...@us...> - 2005-02-14 19:23:09
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6279/src/client Modified Files: pscharcontrol.cpp pscharcontrol.h psengine.cpp Log Message: - Fixed autorun when writing Index: pscharcontrol.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/pscharcontrol.cpp,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** pscharcontrol.cpp 23 Jan 2005 21:03:19 -0000 1.87 --- pscharcontrol.cpp 14 Feb 2005 19:22:42 -0000 1.88 *************** *** 1448,1456 **** } ! void psCharControlManager::EndManualMovement() { if (!checkRunTo) { ! isAutoRunning = false; isWalking = false; isRunning = false; --- 1448,1458 ---- } ! void psCharControlManager::EndManualMovement(bool stopAuto) { if (!checkRunTo) { ! if(stopAuto) ! isAutoRunning = false; ! isWalking = false; isRunning = false; Index: pscharcontrol.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/pscharcontrol.h,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** pscharcontrol.h 8 Jan 2005 18:28:26 -0000 1.40 --- pscharcontrol.h 14 Feb 2005 19:22:43 -0000 1.41 *************** *** 164,168 **** /// Resets all character movement flags like isRunning /// Doesn't affect mouse run (hence "ManualMovement") ! void EndManualMovement(); private: --- 164,168 ---- /// Resets all character movement flags like isRunning /// Doesn't affect mouse run (hence "ManualMovement") ! void EndManualMovement(bool stopAuto = true); private: Index: psengine.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/psengine.cpp,v retrieving revision 1.461 retrieving revision 1.462 diff -C2 -d -r1.461 -r1.462 *** psengine.cpp 13 Feb 2005 22:49:09 -0000 1.461 --- psengine.cpp 14 Feb 2005 19:22:43 -0000 1.462 *************** *** 593,597 **** { if ( charControl ) ! charControl->EndManualMovement(); return true; } --- 593,597 ---- { if ( charControl ) ! charControl->EndManualMovement(false); return true; } |