From bde0f456f960ca5a92f52b2cf03fa55d63e3bfdf Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 5 Nov 2018 14:15:53 +0100 Subject: [PATCH] Don't use yellow as base color for debug_text_3d strings --- qcsrc/common/debug.qh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index b26c19d9a..583e626af 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -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); -- 2.39.2