]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
disabled dlight from scrag and hellknight shots
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Nov 2005 11:57:19 +0000 (11:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 29 Nov 2005 11:57:19 +0000 (11:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5850 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 6357034f79805087567c0fdc7b56b4980597bcb3..f9ba488f60ce94f5da2bdb8c65064e5f15e53552 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -940,18 +940,18 @@ void CL_LinkNetworkEntity(entity_t *e)
                        else if (e->render.model->flags & EF_TRACER)
                        {
                                trailtype = 3;
-                               dlightradius = max(dlightradius, 100);
-                               dlightcolor[0] += 0.25f;
-                               dlightcolor[1] += 1.00f;
-                               dlightcolor[2] += 0.25f;
+                               //dlightradius = max(dlightradius, 100);
+                               //dlightcolor[0] += 0.25f;
+                               //dlightcolor[1] += 1.00f;
+                               //dlightcolor[2] += 0.25f;
                        }
                        else if (e->render.model->flags & EF_TRACER2)
                        {
                                trailtype = 5;
-                               dlightradius = max(dlightradius, 100);
-                               dlightcolor[0] += 1.00f;
-                               dlightcolor[1] += 0.60f;
-                               dlightcolor[2] += 0.20f;
+                               //dlightradius = max(dlightradius, 100);
+                               //dlightcolor[0] += 1.00f;
+                               //dlightcolor[1] += 0.60f;
+                               //dlightcolor[2] += 0.20f;
                        }
                        else if (e->render.model->flags & EF_ROCKET)
                        {