diff --git a/ref_vk/vk_light.c b/ref_vk/vk_light.c index b3d38b77..1bfa95f7 100644 --- a/ref_vk/vk_light.c +++ b/ref_vk/vk_light.c @@ -879,7 +879,8 @@ void VK_AddFlashlight( cl_entity_t *ent ) { // TODO: tune it origin[0] = g_camera.vieworg[0] + (g_camera.vright[0] * 5.0f) + (g_camera.vforward[0] * 2.0f); // forward-back origin[1] = g_camera.vieworg[1] + (g_camera.vright[1] * 5.0f) + (g_camera.vforward[1] * 2.0f); // left-right - origin[2] = g_camera.vieworg[2] + 6.0f + (g_camera.vright[2] * 5.0f) + (g_camera.vforward[2] * 2.0f); // up-down + origin[2] = g_camera.vieworg[2] + (g_camera.vright[2] * 5.0f) + (g_camera.vforward[2] * 2.0f); // up-down + origin[2] += 6.0f; VectorCopy(g_camera.vforward, plight->dir); } }