stop air sound while paused
[carveJwlIkooP6JGAAIwe30JlM.git] / player.c
index 1d95c8b852e90ac00726d94df4dff9e0fa9586d7..bd929a5f94973c1e9923ef09c437ca58e2242081 100644 (file)
--- a/player.c
+++ b/player.c
@@ -119,7 +119,7 @@ static void player__post_update(void){
       player_subsystems[ localplayer.subsystem ]->post_update();
 
    SDL_AtomicLock( &air_data.sl );
-   air_data.speed = v3_length( localplayer.rb.v );
+   air_data.speed = v3_length( localplayer.rb.v ) * vg.time_rate;
    SDL_AtomicUnlock( &air_data.sl );
 }