]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/monsters/monster/wizard.qc
Replace enforcer model with e-wheel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / monsters / monster / wizard.qc
index 4460e02214e0aa3bd62074f613d92f50220191f7..bdbcf3a36a8b54a0d229ba60127861a8dd4312da 100644 (file)
@@ -91,7 +91,7 @@ void Wiz_StartFast ()
 void wizard_think ()
 {
        self.think = wizard_think;
-       self.nextthink = time + 0.3;
+       self.nextthink = time + 0.1;
        
        monster_move(autocvar_g_monster_wizard_speed_run, autocvar_g_monster_wizard_speed_walk, 300, wizard_anim_fly, wizard_anim_hover, wizard_anim_hover);
 }
@@ -147,11 +147,7 @@ void wizard_spawn ()
 
 void spawnfunc_monster_wizard ()
 {      
-       if not(autocvar_g_monster_wizard)
-       {
-               remove(self);
-               return;
-       }
+       if not(autocvar_g_monster_wizard) { remove(self); return; }
        
        self.monster_spawnfunc = spawnfunc_monster_wizard;