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 b26c19d..583e626 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);