projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
POWER
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_audio.h
diff --git
a/player_audio.h
b/player_audio.h
index 298ce0f0dab5994bcdd6e0d1f62e70a996983b78..50616048156b1e71978ca657c25a62c0a328b178 100644
(file)
--- a/
player_audio.h
+++ b/
player_audio.h
@@
-103,7
+103,8
@@
VG_STATIC void player_audio(void)
}
else if( sprite_type == k_audio_sprite_type_water )
{
- audio_player_playclip( avail, &audio_water[rand()%6] );
+ if( world.water.enabled )
+ audio_player_playclip( avail, &audio_water[rand()%6] );
}
}
}