X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_lights.qc;h=f7382d1666b15b6c295903b3fa90260be3c720a2;hb=e090603a32c8cba598f2c54e355cdb5b32b0d986;hp=98429f7d7a510fe07a09657825d58809335ec1de;hpb=265b681e0fb49239df1bfc431a903f66244a3172;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)