ditto for ENABLE_IPC

This commit is contained in:
Jenny White 2018-04-28 17:07:23 +03:00
parent cfeb4dac62
commit 905bdb92f8
5 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ const std::string &hack::GetType()
if (version_set)
return version;
version = "";
#if not defined(ENABLE_IPC)
#if not ENABLE_IPC
version += " NOIPC";
#endif
#if not ENABLE_GUI

View File

@ -552,7 +552,7 @@ int HealingPriority(int idx)
priority += 50 * (1 - healthp);
priority += 10 * (1 - overhealp);
}
#if ENABLE_IPC == 1
#if ENABLE_IPC
if (ipc::peer)
{
if (hacks::shared::followbot::followbot &&

View File

@ -1173,7 +1173,7 @@ void _FASTCALL ProcessEntity(CachedEntity *ent)
AddEntityString(ent, classes[pclass - 1]);
}
#if ENABLE_IPC == 1
#if ENABLE_IPC
// ipc bot esp
if (show_bot_id && ipc::peer && ent != LOCAL_E)
{

View File

@ -11,7 +11,7 @@
#include "hack.hpp"
#include "hitrate.hpp"
#if ENABLE_IPC == 1
#if ENABLE_IPC
namespace ipc
{

View File

@ -144,7 +144,7 @@ void DrawCheatVisuals()
PROF_SECTION(PT_spyalert);
hacks::tf::spyalert::Draw();
}
#if ENABLE_IPC == 1
#if ENABLE_IPC
IF_GAME(IsTF()) hacks::shared::followbot::DrawTick();
#endif
{