]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Comments and stuff
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 15:34:40 +0000 (18:34 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 9 Sep 2010 15:34:40 +0000 (18:34 +0300)
data/qcsrc/server/bot/havocbot/vore_ai.qc
data/qcsrc/server/vore.qc

index 7f6794eb6e23b233ed9ccf8228f3eb81e96d75ac..0b46daebc898d7b7d9e38cb4dd7c18642da9f563 100644 (file)
@@ -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;
 
index 4de538145f961220512e8da9be8a173e6c1c8380..826cd34c9f083d2e812a176b0a75861d92ff0cc2 100644 (file)
@@ -25,7 +25,7 @@ entity Swallow_player_check()
 \r
 float Swallow_condition_check(entity prey)\r
 {\r
-       // checks the necessary conditions for swallowing another player\r
+       // checks the necessary conditions for swallowing a player\r
 \r
        if(prey != self)\r
        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\r