Flashlight: Shift source origin down by 8 units so that the cubemap light

has some more obvious effects from the first person view.
This commit is contained in:
Marco Cawthorne 2020-04-20 23:20:36 +02:00
parent 6294a41efe
commit 00b4fb9557

View file

@ -125,7 +125,7 @@ player::predraw(void)
src = origin + view_ofs;
ang = [pitch, angles[1], angles[2]];
} else {
src = getproperty(VF_ORIGIN);
src = getproperty(VF_ORIGIN) + [0,0,-8];
ang = getproperty(VF_CL_VIEWANGLES);
}