summaryrefslogtreecommitdiff
path: root/source/cl_main.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-03-03 15:45:04 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-03-03 15:45:04 +0000
commitad59a391bfcd72eda76f1ebbff5f4ae73256c8db (patch)
treed913e09820442c3ab512101c4f60d380b76da414 /source/cl_main.c
parent25de275d0db688460a0f3642ba3c72ab44af3e96 (diff)
Don't build client side lightstyles code unless software refresh is in use.
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 7fc972c..f4869e5 100644
--- a/source/cl_main.c
+++ b/source/cl_main.c
@@ -2948,7 +2948,9 @@ void CL_Frame( unsigned msec ) {
// advance local effects for next frame
CL_RunDLights();
+#if USE_LIGHTSTYLES
CL_RunLightStyles();
+#endif
// check connection timeout
if( cls.netchan ) {