]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_lights.qc
Registry: hide arrays
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_lights.qc
index bdcef35e7abd691fce0178bb02acfc57bde2a576..8399b5fdb976d3c50f1fedf29bb117509c23bc96 100644 (file)
@@ -1,9 +1,10 @@
-#include "_.qh"
 
 void train_next();
 
 const float LOOP = 1;
 
+.float speed;
+
 const float DNOSHADOW = 2;
 const float DFOLLOW = 4;
 .float light_lev;
@@ -86,7 +87,7 @@ void dynlight_use()
        else
                self.light_lev = 0;
 }
-void spawnfunc_dynlight()
+spawnfunc(dynlight)
 {
        if (!self.light_lev)
                self.light_lev = 200;