From 902def070e2f6d69e3b0e79b322747c46c4ce6e8 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 9 Sep 2010 20:01:37 +0300 Subject: [PATCH] Add this in the shooting code too. No way to test so I hope it works well --- data/qcsrc/server/bot/aim.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/qcsrc/server/bot/aim.qc b/data/qcsrc/server/bot/aim.qc index e2476d03..5b54e7d9 100644 --- a/data/qcsrc/server/bot/aim.qc +++ b/data/qcsrc/server/bot/aim.qc @@ -100,6 +100,9 @@ float lag_additem(float t, float f1, float f2, entity e1, vector v1, vector v2, float bot_shouldattack(entity e) { + if(g_rpg && cvar("g_rpg_botattack") < 2) + return FALSE; + if (e.team == self.team) { if (e == self) -- 2.39.2