mirror of
https://github.com/izzy2lost/Ghostship.git
synced 2026-06-19 01:17:03 -07:00
Added null validation into channel_layer and removed leftover
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -49,6 +49,11 @@ void seq_channel_layer_process_script(struct SequenceChannelLayer *layer) {
|
||||
#endif
|
||||
|
||||
sameSound = TRUE;
|
||||
|
||||
if(layer == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ((*layer).enabled == FALSE) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user