From 00b4fb95573fe55a00641994010eaa35d042fb74 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 20 Apr 2020 23:20:36 +0200 Subject: [PATCH] Flashlight: Shift source origin down by 8 units so that the cubemap light has some more obvious effects from the first person view. --- src/client/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/player.c b/src/client/player.c index 75c35c29..573667be 100644 --- a/src/client/player.c +++ b/src/client/player.c @@ -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); }