diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-09 18:28:04 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-09 18:28:04 +0200 |
| commit | 215818ddedc02be3a1a5c2be3912abdbcd29dd72 (patch) | |
| tree | 16453999d9380f43a6f436e491e63aa58ac7e764 /internal_rewrite/ragebot.cpp | |
| parent | 620f39df29fed446ab007e03c7b071f635379f1f (diff) | |
detours etc
Diffstat (limited to 'internal_rewrite/ragebot.cpp')
| -rw-r--r-- | internal_rewrite/ragebot.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 ) {
|
