]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use normal think delay while dead
authorMario <mario.mario@y7mail.com>
Mon, 2 Sep 2013 00:27:37 +0000 (10:27 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 2 Sep 2013 00:27:37 +0000 (10:27 +1000)
qcsrc/common/monsters/sv_monsters.qc

index 81463e11061aa8501dc012d6cf2e16924dfe4524..3591fe80ba57149fee33173a7565d1ee89958ea2 100644 (file)
@@ -650,7 +650,7 @@ void monster_move(float runspeed, float walkspeed, float stopspeed, float manim_
                                MonsterSound(monstersound_sight, 0, FALSE, CH_VOICE);
                                //monster_sound(self.msound_sight, 0, FALSE);
                }
-                       
+               
                self.last_enemycheck = time + 0.5;
        }
        
@@ -749,7 +749,7 @@ void monster_move(float runspeed, float walkspeed, float stopspeed, float manim_
 void monster_dead_think()
 {
        self.think = monster_dead_think;
-       self.nextthink = time + 0.3; // don't need to update so often now
+       self.nextthink = time + self.ticrate;
        
        self.deadflag = DEAD_DEAD;