diff --git a/ZombieRiot/scripting/unloze_zr.sp b/ZombieRiot/scripting/unloze_zr.sp index 3d4a8275..709ed8d8 100644 --- a/ZombieRiot/scripting/unloze_zr.sp +++ b/ZombieRiot/scripting/unloze_zr.sp @@ -882,7 +882,7 @@ public void LoadExtraSettings() ReplaceStrings(l_cLine, "zmsoundsFile"); ReplaceString(l_cLine, sizeof(l_cLine), "sound/", "*/"); Format(g_cZMSounds[g_iSoundIndexes][g_iLength], sizeof(g_cZMSounds), l_cLine); - FakePrecacheSound(g_cZMSounds[g_iSoundIndexes][g_iLength]); + PrecacheSound(g_cZMSounds[g_iSoundIndexes][g_iLength]); g_iSoundIndexes++; } } @@ -2104,10 +2104,3 @@ stock void ReplaceStrings(char[] str, char[] strReplace) TrimString(l_cstrFix); Format(str, sizeof(l_cstrFix), l_cstrFix); } -//---------------------------------------------------------------------------------------------------- -// Purpose: -//---------------------------------------------------------------------------------------------------- -stock void FakePrecacheSound(const char[] szPath) -{ - AddToStringTable(FindStringTable("soundprecache"), szPath); -}