better cam position in 3rd person spect

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3245 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-10-25 14:22:50 +00:00
parent 60307e793f
commit ac805d2cdd
+1 -1
View File
@@ -487,7 +487,7 @@ void recomputecamera()
{
followcam.vel.x = -(float)(cosf(RAD*(p->yaw-90)))*p->radius*1.5f;
followcam.vel.y = -(float)(sinf(RAD*(p->yaw-90)))*p->radius*1.5f;
followcam.vel.z = p->eyeheight/3.0f;
followcam.vel.z = p->eyeheight/2.0f;
}
else followcam.vel.z = p->eyeheight/6.0f;
loopi(20) moveplayer(&followcam, 20, true, 50);