scp-fs2open / scp-fs2open/fs2open.github.com

Script spawned beams (via sexp) do not have their graphics correctly loaded

Open
#7,017 3 comments 0 reactions 0 assignees View on GitHub
graphics
Dominant language
C++
Stars
487
Forks
184
PR merge metrics
PR metrics pending

Description

If a beam spawned via script, via a runSEXP `beam-create`, is not used elsewhere traditionally in the mission it's graphics will not be loaded, and its sections will be invisible. `beam_fire` specifically checks for beams which are 'not used', and loads their graphics, but `beam-create` calls `preload_turret_change_weapon` which marks the weapon as being used, despite its graphics not being loaded.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.