aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index 1ec8108..368cbf1 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -72,7 +72,7 @@ void audio_trigger_moo()
{
AudioContext *a = audio_context;
- if ( a->mootex != 0 ) {
+ if ( a != NULL && a->mootex != 0 ) {
printf("Mootex says 'no'\n");
return;
}