]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_crosshairs.c
R_LoadTexture functions take a palette pointer now
[xonotic/darkplaces.git] / r_crosshairs.c
index 7e7bf7061501efda90534c03dc1c3855e5b8d91a..e660f08758a4f3f9db617c20ebbf6682284338ec 100644 (file)
@@ -76,7 +76,7 @@ void R_GetCrosshairColor(float *out)
        }
        else
                i = 15;
-       color = (qbyte *) &d_8to24table[i];
+       color = (qbyte *) &palette_complete[i];
        if (crosshair_flashspeed.value >= 0.01f)
                base = (sin(realtime * crosshair_flashspeed.value * (M_PI*2.0f)) * crosshair_flashrange.value);
        else