projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
maths api changes
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_ragdoll.c
diff --git
a/player_ragdoll.c
b/player_ragdoll.c
index a1733b765289449b93e62b2aa1b78ffcea20ec81..7b5308816d228d173df193b93f2569c9ea80b44a 100644
(file)
--- a/
player_ragdoll.c
+++ b/
player_ragdoll.c
@@
-446,7
+446,7
@@
VG_STATIC void player_ragdoll_iter( struct player_ragdoll *rd )
if( stress ){
temp_filter = 20;
audio_lock();
- audio_oneshot_3d( &audio_hits[
rand
()%5], stress->co, 20.0f, 1.0f );
+ audio_oneshot_3d( &audio_hits[
vg_randu32
()%5], stress->co, 20.0f, 1.0f );
audio_unlock();
}
}