X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_ragdoll.c;fp=player_ragdoll.c;h=7b5308816d228d173df193b93f2569c9ea80b44a;hb=ec90a4b46865009c1e1b1679f6926e35d2ee3f12;hp=a1733b765289449b93e62b2aa1b78ffcea20ec81;hpb=a6880a555be0e8bed7aae08c95b95eeb62ade0b4;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_ragdoll.c b/player_ragdoll.c index a1733b7..7b53088 100644 --- 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(); } }