From a756b24371c9bfc6ab400f55d95c86e5569f04e8 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 22 Apr 2007 09:52:01 +0000 Subject: [PATCH] fix a bug in the last commit pertaining to lightning beam fogging git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7152 d7cf8633-e32d-0410-b094-e92efae38249 --- r_lightning.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_lightning.c b/r_lightning.c index 8e07ad0f..76c8ff24 100644 --- a/r_lightning.c +++ b/r_lightning.c @@ -219,7 +219,7 @@ void R_FogLightningBeam_Vertex3f_Color4f(const float *v, float *c, int numverts, float fog; for (i = 0;i < numverts;i++, v += 3, c += 4) { - fog = FogPoint_Model(v); + fog = FogPoint_World(v); c[0] = r * fog; c[1] = g * fog; c[2] = b * fog; -- 2.39.2