From: Andrew C. <ac...@us...> - 2003-12-07 21:50:53
|
Update of /cvsroot/planeshift/planeshift/src/client In directory sc8-pr-cvs1:/tmp/cvs-serv28947/src/client Modified Files: pscharcontrol.cpp Log Message: Fixed look up/look down keys Index: pscharcontrol.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/pscharcontrol.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pscharcontrol.cpp 7 Dec 2003 21:40:51 -0000 1.13 --- pscharcontrol.cpp 7 Dec 2003 21:50:50 -0000 1.14 *************** *** 559,566 **** --- 559,574 ---- void psCharControlManager::HandleLookUp(psCharControlManager *ccmgr,bool down) { + if ( down ) + ccmgr->movePropClass->SetCameraPitchSpeed(0.02); + else + ccmgr->movePropClass->SetCameraPitchSpeed(0.0); } void psCharControlManager::HandleLookDown(psCharControlManager *ccmgr,bool down) { + if ( down ) + ccmgr->movePropClass->SetCameraPitchSpeed(-0.02); + else + ccmgr->movePropClass->SetCameraPitchSpeed(0.0); } |