]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_lights.qc
Hide the MOTD when going spec
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_lights.qc
index 98429f7d7a510fe07a09657825d58809335ec1de..8399b5fdb976d3c50f1fedf29bb117509c23bc96 100644 (file)
@@ -1,5 +1,10 @@
+
+void train_next();
+
 const float LOOP = 1;
 
+.float speed;
+
 const float DNOSHADOW = 2;
 const float DFOLLOW = 4;
 .float light_lev;
@@ -82,10 +87,8 @@ void dynlight_use()
        else
                self.light_lev = 0;
 }
-void spawnfunc_dynlight()
+spawnfunc(dynlight)
 {
-       local   entity  targ;
-
        if (!self.light_lev)
                self.light_lev = 200;
        if (!self.color)