From 215818ddedc02be3a1a5c2be3912abdbcd29dd72 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 9 Sep 2018 18:28:04 +0200 Subject: detours etc --- internal_rewrite/ragebot.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal_rewrite/ragebot.cpp') diff --git a/internal_rewrite/ragebot.cpp b/internal_rewrite/ragebot.cpp index 54b74d9..1638a55 100644 --- a/internal_rewrite/ragebot.cpp +++ b/internal_rewrite/ragebot.cpp @@ -74,6 +74,9 @@ namespace features vec3_t c_ragebot::multipoint( c_base_player* ent, int hitbox, float* out_dmg ) { auto should_multipoint = [ ]( int hitbox, bool moving ) -> bool { + if( !g_settings.rage.multipoint_enable ) + return false; + auto& setting = g_settings.rage.multipoint; switch( hitbox ) { -- cgit v1.2.3