List initialize Dynamic_light in set_dynamic_light
This commit is contained in:
parent
6370292202
commit
4c58f80f6b
|
@ -525,7 +525,7 @@ void set_dynamic_light(void)
|
|||
|
||||
vertnum = render_vertices[vv];
|
||||
Assert(vertnum >= 0 && vertnum <= Highest_vertex_index);
|
||||
Dynamic_light[vertnum].r = Dynamic_light[vertnum].g = Dynamic_light[vertnum].b = 0;
|
||||
Dynamic_light[vertnum] = {};
|
||||
}
|
||||
|
||||
cast_muzzle_flash_light(n_render_vertices, render_vertices, vert_segnum_list);
|
||||
|
|
Loading…
Reference in a new issue