]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/door_rotating.qc
Introduce touch accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / door_rotating.qc
index ae7918c8287cd4b2acd211ce123a975ad45fb799..77061ecb3e626c6516c2e3d69849fa3909cecff1 100644 (file)
@@ -115,7 +115,7 @@ spawnfunc(func_door_rotating)
        if (this.items)
                this.wait = -1;
 
-       this.touch = door_touch;
+       settouch(this, door_touch);
 
 // LinkDoors can't be done until all of the doors have been spawned, so
 // the sizes can be detected properly.