]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/conveyor.qc
Use think accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / conveyor.qc
index dd7c129d62b2626ac4be1a98403639de3eb320c0..6ad2e80d41c33404d7e5535892a2a68963df3635 100644 (file)
@@ -112,7 +112,7 @@ void conveyor_init(entity this)
 {
        if (!this.speed) this.speed = 200;
        this.movedir *= this.speed;
-       this.think = conveyor_think;
+       setthink(this, conveyor_think);
        this.nextthink = time;
        IFTARGETED
        {