]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't use yellow as base color for debug_text_3d strings
authorterencehill <piuntn@gmail.com>
Mon, 5 Nov 2018 13:15:53 +0000 (14:15 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 5 Nov 2018 13:15:53 +0000 (14:15 +0100)
qcsrc/common/debug.qh

index b26c19d9a7a718d1608da69e0a41c24165227896..583e626af72fa73e90993f78208964090a47b65e 100644 (file)
@@ -444,8 +444,7 @@ CLASS(DebugText3d, Object)
                        if (align > 0)
                                msg_pos.x -= stringwidth(msg, true, size * '1 1 0') * min(1, align);
 
-                       vector rgb = '1 1 0';
-                       drawcolorcodedstring2_builtin(msg_pos, msg, size * '1 1 0', rgb, alpha_, DRAWFLAG_NORMAL);
+                       drawcolorcodedstring_builtin(msg_pos, msg, size * '1 1 0', alpha_, DRAWFLAG_NORMAL);
                }
        }
        ATTRIB(DebugText3d, draw2d, void(DebugText3d), DebugText3d_draw2d);