X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fvectormamamam.qc;h=32355004bed1d33ba21648cbf62f2196ecaa0d99;hb=5b22584122d4354ab7819853d0fa5219d14d832e;hp=7d0d20fe2819a869112198245f1bfc78420571c9;hpb=22a37c4431f80ece25aeff28c18bc67dd183a352;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/vectormamamam.qc b/qcsrc/common/triggers/func/vectormamamam.qc index 7d0d20fe2..32355004b 100644 --- a/qcsrc/common/triggers/func/vectormamamam.qc +++ b/qcsrc/common/triggers/func/vectormamamam.qc @@ -58,7 +58,7 @@ vector func_vectormamamam_origin(entity o, float t) } void func_vectormamamam_controller_think() -{ +{SELFPARAM(); self.nextthink = time + 0.1; if(self.owner.active != ACTIVE_ACTIVE) @@ -72,7 +72,7 @@ void func_vectormamamam_controller_think() } void func_vectormamamam_findtarget() -{ +{SELFPARAM(); if(self.target != "") self.wp00 = find(world, targetname, self.target); @@ -99,7 +99,7 @@ void func_vectormamamam_findtarget() } void spawnfunc_func_vectormamamam() -{ +{SELFPARAM(); if (self.noise != "") { precache_sound(self.noise); @@ -146,8 +146,8 @@ void spawnfunc_func_vectormamamam() return; // wait for targets to spawn - self.nextthink = self.ltime + 999999999; - self.think = SUB_NullThink; // for PushMove + self.SUB_NEXTTHINK = self.SUB_LTIME + 999999999; + self.SUB_THINK = SUB_NullThink; // for PushMove // Savage: Reduce bandwith, critical on e.g. nexdm02 self.effects |= EF_LOWPRECISION;