Fix error caused by removing voiceannounce_ex

This commit is contained in:
BotoX 2017-02-26 01:29:14 +01:00
parent b084b96bb1
commit e103ac717d

View File

@ -8,7 +8,7 @@
#undef REQUIRE_PLUGIN
#include <ccc>
#include <zombiereloaded>
#include <voiceannounce_ex>
#tryinclude <voiceannounce_ex>
#include <AdvancedTargeting>
#define REQUIRE_PLUGIN
@ -642,6 +642,7 @@ void DisplayMuteMenu(int client)
int[] aClients = new int[MaxClients + 1];
#if defined _voiceannounceex_included_
if(g_Plugin_voiceannounce_ex)
{
// Count talking players and insert id's into aClients array
@ -675,6 +676,7 @@ void DisplayMuteMenu(int client)
menu.AddItem("", "", ITEMDRAW_RAWLINE);
}
}
#endif
menu.AddItem("@all", "Everyone");
menu.AddItem("@spec", "Spectators");