summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-11-18 20:06:19 +0100
committernavewindre <boneyaard@gmail.com>2018-11-18 20:06:19 +0100
commitee88bdeca83ebf6aff4b2bebf2c1f93eb2bf9541 (patch)
treece352cb7c1f10780c4a1584c7dbd3483d4179d36 /internal_rewrite/ragebot.cpp
parentcbb78808aa8d30055afbabf72f61183ba9015935 (diff)
d
Diffstat (limited to 'internal_rewrite/ragebot.cpp')
-rw-r--r--internal_rewrite/ragebot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/ragebot.cpp b/internal_rewrite/ragebot.cpp
index ed1b5c3..2f99b29 100644
--- a/internal_rewrite/ragebot.cpp
+++ b/internal_rewrite/ragebot.cpp
@@ -358,7 +358,7 @@ namespace features
bool a_head = !( a.hitbox == HITBOX_HEAD || a.hitbox == HITBOX_NECK );
bool b_head = !( b.hitbox == HITBOX_HEAD || b.hitbox == HITBOX_NECK );
- if( a.dmg != b.dmg && g_settings.rage.active->m_baim_lethal ) {
+ if( a.dmg != b.dmg ) {
if( a.dmg > ( float )( hp + 10 ) && ( float )( b.dmg > hp + 10 ) ) {
if( a_head != b_head ) {
return a_head > b_head;