]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/monsters/monster/demon.qc
Replace enforcer model with e-wheel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / monsters / monster / demon.qc
index 1e54bec4e075df4f8759c60e09c6238c5a41cf78..44c5990ac7ef04d2cbdda3d6634e7c6c4943a11c 100644 (file)
@@ -22,7 +22,7 @@ const vector DEMON_MAX = '32 32 24';
 void demon_think ()
 {
        self.think = demon_think;
-       self.nextthink = time + 0.3;
+       self.nextthink = time + 0.1;
        
        monster_move(autocvar_g_monster_demon_speed_run, autocvar_g_monster_demon_speed_walk, 100, demon_anim_run, demon_anim_walk, demon_anim_stand);
 }
@@ -104,11 +104,7 @@ void demon_spawn ()
 /* QUAKED monster_demon (1 0 0) (-32 -32 -24) (32 32 64) Ambush */
 void spawnfunc_monster_demon ()
 {      
-       if not(autocvar_g_monster_demon)
-       {
-               remove(self);
-               return;
-       }
+       if not(autocvar_g_monster_demon) { remove(self); return; }
        
        self.monster_spawnfunc = spawnfunc_monster_demon;