Remove func_breakable CSQC model linking
authorMario <mario.mario@y7mail.com>
Mon, 21 Oct 2013 08:39:15 +0000 (19:39 +1100)
committerMario <mario.mario@y7mail.com>
Mon, 21 Oct 2013 08:39:15 +0000 (19:39 +1100)
qcsrc/server/func_breakable.qc

index 29f4218..ca7c891 100644 (file)
@@ -209,17 +209,11 @@ void func_breakable_damage(entity inflictor, entity attacker, float damage, floa
        }
 }
 
-void func_breakable_think()
-{
-       self.nextthink = time;
-       CSQCMODEL_AUTOUPDATE();
-}
-
 void func_breakable_reset()
 {
        self.team = self.team_saved;
-       self.think = func_breakable_think;
-       self.nextthink = time;
+       self.think = func_null;
+       self.nextthink = 0;
        func_breakable_look_restore();
        if(self.spawnflags & 1)
                func_breakable_behave_destroyed();
@@ -276,8 +270,6 @@ void spawnfunc_func_breakable() {
 
        self.reset = func_breakable_reset;
        func_breakable_reset();
-       
-       CSQCMODEL_AUTOINIT();
 }
 
 // for use in maps with a "model" key set