Fix error caused by removing voiceannounce_ex
This commit is contained in:
parent
b084b96bb1
commit
e103ac717d
@ -8,7 +8,7 @@
|
|||||||
#undef REQUIRE_PLUGIN
|
#undef REQUIRE_PLUGIN
|
||||||
#include <ccc>
|
#include <ccc>
|
||||||
#include <zombiereloaded>
|
#include <zombiereloaded>
|
||||||
#include <voiceannounce_ex>
|
#tryinclude <voiceannounce_ex>
|
||||||
#include <AdvancedTargeting>
|
#include <AdvancedTargeting>
|
||||||
#define REQUIRE_PLUGIN
|
#define REQUIRE_PLUGIN
|
||||||
|
|
||||||
@ -642,6 +642,7 @@ void DisplayMuteMenu(int client)
|
|||||||
|
|
||||||
int[] aClients = new int[MaxClients + 1];
|
int[] aClients = new int[MaxClients + 1];
|
||||||
|
|
||||||
|
#if defined _voiceannounceex_included_
|
||||||
if(g_Plugin_voiceannounce_ex)
|
if(g_Plugin_voiceannounce_ex)
|
||||||
{
|
{
|
||||||
// Count talking players and insert id's into aClients array
|
// Count talking players and insert id's into aClients array
|
||||||
@ -675,6 +676,7 @@ void DisplayMuteMenu(int client)
|
|||||||
menu.AddItem("", "", ITEMDRAW_RAWLINE);
|
menu.AddItem("", "", ITEMDRAW_RAWLINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
menu.AddItem("@all", "Everyone");
|
menu.AddItem("@all", "Everyone");
|
||||||
menu.AddItem("@spec", "Spectators");
|
menu.AddItem("@spec", "Spectators");
|
||||||
|
Loading…
Reference in New Issue
Block a user