From: terencehill Date: Mon, 5 Nov 2018 13:15:53 +0000 (+0100) Subject: Don't use yellow as base color for debug_text_3d strings X-Git-Tag: xonotic-v0.8.5~1725 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bde0f456f960ca5a92f52b2cf03fa55d63e3bfdf;p=xonotic%2Fxonotic-data.pk3dir.git Don't use yellow as base color for debug_text_3d strings --- 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);