From 05bb668a858bd8d2638e2e975311a5afe7eb05c0 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 9 Sep 2010 18:34:40 +0300 Subject: [PATCH] Comments and stuff --- data/qcsrc/server/bot/havocbot/vore_ai.qc | 6 +++--- data/qcsrc/server/vore.qc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/qcsrc/server/bot/havocbot/vore_ai.qc b/data/qcsrc/server/bot/havocbot/vore_ai.qc index 7f6794eb..0b46daeb 100644 --- a/data/qcsrc/server/bot/havocbot/vore_ai.qc +++ b/data/qcsrc/server/bot/havocbot/vore_ai.qc @@ -2,9 +2,9 @@ float Swallow_condition_check_bot(entity prey) { - // checks the necessary conditions for a bot to swallow another player + // checks the necessary conditions for a bot to swallow a player - if(Swallow_condition_check(prey)) // check the normal conditions imposed by the vore system + if(Swallow_condition_check(prey)) // check the normal conditions of the vore system if not(prey.BUTTON_CHAT) // don't eat players who are chatting if(self.health > cvar("g_balance_vore_kick_damage_max")) // explained below return TRUE; @@ -14,7 +14,7 @@ float Swallow_condition_check_bot(entity prey) void Vore_AI_Teamheal(entity prey) { // allows bots to use the teamheal feature and heal damaged team mates - // the prey entity is only used when it's available (a player is detected in-range) + // the prey entity is only used when it's available (a player is detected in range) entity head; diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 4de53814..826cd34c 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -25,7 +25,7 @@ entity Swallow_player_check() float Swallow_condition_check(entity prey) { - // checks the necessary conditions for swallowing another player + // checks the necessary conditions for swallowing a player if(prey != self) if(prey.classname == "player" && prey.predator.classname != "player" && prey.deadflag == DEAD_NO) // we can't swallow someone who's already in someone else's stomach -- 2.39.2