mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 16:41:13 +00:00
e281f992af
It's possible for an actor to call Destroy() in a ZScript method (such as Tick()) and then subsequently call A_StartSound() to play a sound. Generally speaking this doesn't happen within a given class, but with a class hierarchy, Destroy() may be called unbeknownst to a mod developer. Even though checking bDestroyed is likely good practice, this ensures that sounds won't be started on actors flagged for cleanup. |
||
---|---|---|
.. | ||
s_advsound.cpp | ||
s_doomsound.cpp | ||
s_doomsound.h | ||
s_sndseq.cpp | ||
s_sndseq.h | ||
s_sound.h |