Skip to content

Commit a1af446

Browse files
committed
Fix minor warning
1 parent f28c1c9 commit a1af446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Patches/ChainsawSoundFix.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,8 @@ void RunChainsawSoundFix()
397397
ChainsawIdleVolumeFactor = 1.0f;
398398
ChainsawIdleState = 3;
399399
}
400-
IdleStartVolume = (1.0f - pow(ChainsawIdleVolumeFactor, 3)) * *WeaponVolumePtr;
401-
IdleVolume = (1.0f - pow(1.0f - ChainsawIdleVolumeFactor, 3)) * *WeaponVolumePtr;
400+
IdleStartVolume = (1.0f - powf(ChainsawIdleVolumeFactor, 3)) * *WeaponVolumePtr;
401+
IdleVolume = (1.0f - powf(1.0f - ChainsawIdleVolumeFactor, 3)) * *WeaponVolumePtr;
402402
break;
403403

404404
// Continue to update the idle sound's world position while the chainsaw is active.

0 commit comments

Comments
 (0)