Flashlight: Avoid using getproperty for the flashlight values.

This commit is contained in:
Marco Cawthorne 2020-06-12 17:27:21 +02:00
parent 66aef13819
commit bcc28c98ee

View file

@ -129,8 +129,8 @@ player::predraw(void)
src = origin + view_ofs;
ang = [pitch, angles[1], angles[2]];
} else {
src = getproperty(VF_ORIGIN) + [0,0,-8];
ang = getproperty(VF_CL_VIEWANGLES);
src = pSeat->m_vecPredictedOrigin + [0,0,-8];
ang = view_angles;
}
makevectors(ang);