summaryrefslogtreecommitdiff
path: root/internal_rewrite/ragebot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'internal_rewrite/ragebot.cpp')
-rw-r--r--internal_rewrite/ragebot.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal_rewrite/ragebot.cpp b/internal_rewrite/ragebot.cpp
index 452dc9b..ed1b5c3 100644
--- a/internal_rewrite/ragebot.cpp
+++ b/internal_rewrite/ragebot.cpp
@@ -691,6 +691,8 @@ namespace features
return false;
if( !entity->has_valid_anim( ) )
return false;
+ if( entity->m_iTeamNum( ) == g_ctx.m_local->m_iTeamNum( ) && !g_settings.rage.friendlies )
+ return false;
bool baim = false;
bool should_baim = true;