summaryrefslogtreecommitdiff
path: root/source/cl_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-03-03 19:39:22 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-03-03 19:39:22 +0000
commit8d5345be32ece1e2e396d2bd3499ded790cb9a8c (patch)
tree663dd8d43a5362dda8059613d980011dc2cc5b32 /source/cl_main.c
parentbcabef4d17896c4dd5b4f0b67f26cabff4b167ea (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_main.c')
-rw-r--r--source/cl_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cl_main.c b/source/cl_main.c
index f4869e5..0c5d93d 100644
--- a/source/cl_main.c
+++ b/source/cl_main.c
@@ -2947,7 +2947,9 @@ void CL_Frame( unsigned msec ) {
}
// advance local effects for next frame
+#if USE_DLIGHTS
CL_RunDLights();
+#endif
#if USE_LIGHTSTYLES
CL_RunLightStyles();
#endif