X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=r_lightning.c;h=8568292d098b83113f898bfc5fa773200b35fb7a;hb=221a6cb74c3a3b30b9e60247d6e42d7a6fcdebf0;hp=5ef3ed144534841a4e08219a35435f9b65e7175f;hpb=93ee242c05da6c2b71a6eaf4e393435988ca6c5a;p=xonotic%2Fdarkplaces.git diff --git a/r_lightning.c b/r_lightning.c index 5ef3ed14..8568292d 100644 --- a/r_lightning.c +++ b/r_lightning.c @@ -320,7 +320,7 @@ void R_DrawLightningBeams(void) dist = bound(0, dist, 1); VectorLerp(start, dist, end, org); // now we have the nearest point on the line, so sort with it - R_MeshQueue_AddTransparent(MESHQUEUE_SORT_DISTANCE, org, R_DrawLightningBeam_TransparentCallback, NULL, i, NULL); + R_MeshQueue_AddTransparent(TRANSPARENTSORT_DISTANCE, org, R_DrawLightningBeam_TransparentCallback, NULL, i, NULL); } } }