]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix monster ticrates
authorMario <mario@smbclan.net>
Tue, 18 Oct 2016 15:55:46 +0000 (01:55 +1000)
committerMario <mario@smbclan.net>
Tue, 18 Oct 2016 15:55:46 +0000 (01:55 +1000)
qcsrc/common/monsters/sv_monsters.qc

index ff1a5d397ee1bdf3a9311ec82cc3ebc63adf9b39..8fe84a3b62a268529fe46eb4fd8ae8dc7c55db1d 100644 (file)
@@ -1213,7 +1213,7 @@ void Monster_Anim(entity this)
 void Monster_Think(entity this)
 {
        setthink(this, Monster_Think);
-       this.nextthink = this.ticrate;
+       this.nextthink = time + this.ticrate;
 
        if(this.monster_lifetime)
        if(time >= this.monster_lifetime)