From d96a23d4f2a8ca13fa4dc0e64d6a96b7a250f77f Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 3 Sep 2011 14:23:46 -0400 Subject: [PATCH] Fixed build. --- extensions/sdktools/vsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sdktools/vsound.cpp b/extensions/sdktools/vsound.cpp index a9476a6e..1c054e31 100644 --- a/extensions/sdktools/vsound.cpp +++ b/extensions/sdktools/vsound.cpp @@ -787,7 +787,7 @@ static cell_t smn_GetDistGainFromSoundLevel(IPluginContext *pContext, const cell int decibel = params[1]; float distance = sp_ctof(params[2]); - return sp_ftoc(engsound->GetDistGainFromSoundLevel(soundlevel_t)decibel, distance)); + return sp_ftoc(engsound->GetDistGainFromSoundLevel((soundlevel_t)decibel, distance)); } sp_nativeinfo_t g_SoundNatives[] =