Flashlight: Avoid using getproperty for the flashlight values.
This commit is contained in:
parent
66aef13819
commit
bcc28c98ee
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue