]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/rotating.qc
Improve linking of normal waypoints to ladders by autogenerating waypoints for ladders
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / rotating.qc
index 1adaea91d354db13b259a0109fb86da46efd3352..9715c25452dcaef75849c5700f6b37c5a09b6b05 100644 (file)
@@ -69,8 +69,8 @@ spawnfunc(func_rotating)
     setblocked(this, generic_plat_blocked);
 
        // wait for targets to spawn
-       this.SUB_NEXTTHINK = this.SUB_LTIME + 999999999;
-       SUB_THINK(this, SUB_NullThink); // for PushMove
+       this.nextthink = this.ltime + 999999999;
+       setthink(this, SUB_NullThink); // for PushMove
 
        // TODO make a reset function for this one
 }