Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
object_list_iteration.h: add early return to
mutating_list_iterate
This is sort of a hack/workaround to prevent crashes related to `TargetMissing_` static instance of `BASE_OBJECT` defined in the `multibot.cpp`. By the time this object gets destroyed, audio-related global vars are already destroyed and this object references one of them in its destructor via `audio_RemoveObj(this)` call. This should be addressed later, of course. But still, not crashing is better than crashing and early return is never bad. Signed-off-by: Pavel Solodovnikov <[email protected]>
- Loading branch information