]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/platforms.qh
target_spawn: replace magic number
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / platforms.qh
index f0727be3ca1fe59cf57b8779d60e20178ffc533b..83e77ef66ee5170c45fe45fb29d93d6f1eac4280 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef PLATFORMS_H
-#define PLATFORMS_H
+#pragma once
+#include "spawnflags.qh"
 
 .float dmgtime2;
 
@@ -9,8 +9,5 @@ void plat_trigger_use(entity this, entity actor, entity trigger);
 void plat_go_up(entity this);
 void plat_go_down(entity this);
 void plat_crush(entity this, entity blocker);
-const float PLAT_LOW_TRIGGER = 1;
 
 .float dmg;
-
-#endif