mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01:00
rt: fix missing moving polygon lights
This commit is contained in:
parent
8baf34768a
commit
9b76f3acb4
@ -420,7 +420,7 @@ void VK_RayFrameAddModel( vk_ray_model_t *model, const vk_render_model_t *render
|
||||
|
||||
for (int i = 0; i < render_model->polylights_count; ++i) {
|
||||
rt_light_add_polygon_t *const polylight = render_model->polylights + i;
|
||||
polylight->transform_row = (const matrix3x4*)model;
|
||||
polylight->transform_row = (const matrix3x4*)transform_row;
|
||||
polylight->dynamic = true;
|
||||
RT_LightAddPolygon(polylight);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user