Fixed build.

This commit is contained in:
Nicholas Hastings 2011-09-03 14:23:46 -04:00
parent 98e049b336
commit d96a23d4f2

View File

@ -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[] =