]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
improve visuals of arrows
authorRudolf Polzer <divverent@xonotic.org>
Sun, 19 Jun 2011 05:50:49 +0000 (07:50 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 19 Jun 2011 05:50:49 +0000 (07:50 +0200)
qcsrc/client/waypointsprites.qc

index 1a906f73024822ba90523d4196242c444fda649d..ff510839567fee2ffa0c059d76d093fbdb8ce0ee 100644 (file)
@@ -121,12 +121,12 @@ vector drawspritearrow(vector o, float ang, vector rgb, float a, float t)
        R_PolygonVertex(o + rotate('5.5 9.5 0'*t, ang), '0 0 0', '0 0 0', a);
        R_EndPolygon();
 
-       R_BeginPolygon("", DRAWFLAG_NORMAL);
+       R_BeginPolygon("", DRAWFLAG_ADDITIVE);
        R_PolygonVertex(o + rotate('-8 8 0'*t, ang), '0 0 0', rgb, a);
        R_PolygonVertex(o + rotate('8 8 0'*t, ang), '0 0 0', rgb, a);
        R_PolygonVertex(o + rotate('0 0 0'*t, ang), '0 0 0', rgb, a);
        R_EndPolygon();
-       R_BeginPolygon("", DRAWFLAG_NORMAL);
+       R_BeginPolygon("", DRAWFLAG_ADDITIVE);
        R_PolygonVertex(o + rotate('-4 8 0'*t, ang), '0 0 0', rgb, a);
        R_PolygonVertex(o + rotate('-4 16 0'*t, ang), '0 0 0', rgb, a);
        R_PolygonVertex(o + rotate('4 16 0'*t, ang), '0 0 0', rgb, a);