aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw27@cam.ac.uk>2009-03-16 15:57:11 +0000
committerThomas White <taw27@cam.ac.uk>2009-03-16 15:57:11 +0000
commit6790d884ccc58bf834997d27b7497226bafa7bdc (patch)
tree8c4be1bf9787753d05e68a2bb84ef4c8e00db313
parentc190b15d98a44a104b90630dec6f2659fed5bcf4 (diff)
Debugging
-rw-r--r--src/audio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c
index 1cd713d..cfe6939 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -78,8 +78,11 @@ void audio_trigger_moo() {
a = audio_context;
if ( a == NULL ) return;
}
- if ( a->mootex != 0 ) return;
-
+ if ( a->mootex != 0 ) {
+ printf("Mootex says 'no'\n");
+ return;
+ }
+
printf("Moo!\n");
a->mootex = 1;