diff options
author | Andrey Nazarov <skuller@skuller.net> | 2010-03-03 19:39:22 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2010-03-03 19:39:22 +0000 |
commit | 8d5345be32ece1e2e396d2bd3499ded790cb9a8c (patch) | |
tree | 663dd8d43a5362dda8059613d980011dc2cc5b32 /source/cl_newfx.c | |
parent | bcabef4d17896c4dd5b4f0b67f26cabff4b167ea (diff) |
Don't build client side dynamic lighting code unless software refresh is in use.
Renamed USE_DYNAMIC to USE_DLIGHTS.
Diffstat (limited to 'source/cl_newfx.c')
-rw-r--r-- | source/cl_newfx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cl_newfx.c b/source/cl_newfx.c index 77ebdf3..c227953 100644 --- a/source/cl_newfx.c +++ b/source/cl_newfx.c @@ -68,6 +68,7 @@ void vectoangles2 (vec3_t value1, vec3_t angles) //============= //============= +#if USE_DLIGHTS void CL_Flashlight (int ent, vec3_t pos) { cdlight_t *dl; @@ -100,6 +101,7 @@ void CL_ColorFlash (vec3_t pos, int ent, int intensity, float r, float g, float dl->color[1] = g; dl->color[2] = b; } +#endif /* |