X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_lights.qc;h=f7382d1666b15b6c295903b3fa90260be3c720a2;hb=8890092ab43c20f30fbed1a24a8bb739e2957a4d;hp=98429f7d7a510fe07a09657825d58809335ec1de;hpb=719b47d60479f233baa8719e66e73a60bff28176;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_lights.qc b/qcsrc/server/g_lights.qc index 98429f7d7..f7382d166 100644 --- a/qcsrc/server/g_lights.qc +++ b/qcsrc/server/g_lights.qc @@ -1,3 +1,7 @@ +#include "_all.qh" + +void train_next(); + const float LOOP = 1; const float DNOSHADOW = 2; @@ -84,8 +88,6 @@ void dynlight_use() } void spawnfunc_dynlight() { - local entity targ; - if (!self.light_lev) self.light_lev = 200; if (!self.color)