From fb992b71287b71811651bd37f9007353275fa95d Mon Sep 17 00:00:00 2001 From: Unnamed Date: Sat, 27 Apr 2019 03:36:45 +0000 Subject: [PATCH] FollowBot.cpp: fix non-functioning follow bot with compiled off IPC --- src/hacks/FollowBot.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hacks/FollowBot.cpp b/src/hacks/FollowBot.cpp index cb581a1c..11f0374e 100644 --- a/src/hacks/FollowBot.cpp +++ b/src/hacks/FollowBot.cpp @@ -235,7 +235,6 @@ static bool startFollow(CachedEntity *entity, bool useNavbot) return false; } -#if ENABLE_IPC static void cm() { if (!enable) @@ -561,7 +560,6 @@ static void cm() else idle_time.update(); } -#endif #if ENABLE_VISUALS static void draw() @@ -633,9 +631,7 @@ void rvarCallback(settings::VariableBase &var, int after) } static InitRoutine runinit([]() { -#if ENABLE_IPC EC::Register(EC::CreateMove, cm, "cm_followbot", EC::average); -#endif #if ENABLE_VISUALS EC::Register(EC::Draw, draw, "draw_followbot", EC::average); #endif