mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
Directional, point, and cone lights left local_vec, local_vec2, and some of the type-specific fields uninitialized until something rotated or set them. The sun copies in Static_light were never rotated at all until the previous commit, so light_apply_rgb's sun term read uninitialized memory. Zero every field up front, which also covers what the tube light did by hand. Co-Authored-By: Claude Opus 5.5 <[email protected]>