]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/multi.qc
Use think accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / multi.qc
index 5edf1dfa542966323582053311fe839568d7b7f1..5ebe7017957ea7d94eaca4310f77133b8a43b3c9 100644 (file)
@@ -45,7 +45,7 @@ void multi_trigger(entity this)
 
        if (this.wait > 0)
        {
-               this.think = multi_wait;
+               setthink(this, multi_wait);
                this.nextthink = time + this.wait;
        }
        else if (this.wait == 0)
@@ -123,7 +123,7 @@ void multi_reset(entity this)
                this.takedamage = DAMAGE_YES;
                this.solid = SOLID_BBOX;
        }
-       this.think = func_null;
+       setthink(this, func_null);
        this.nextthink = 0;
        this.team = this.team_saved;
 }