projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63e02f
)
Don't use yellow as base color for debug_text_3d strings
author
terencehill <piuntn@gmail.com>
Mon, 5 Nov 2018 13:15:53 +0000
(14:15 +0100)
committer
terencehill <piuntn@gmail.com>
Mon, 5 Nov 2018 13:15:53 +0000
(14:15 +0100)
qcsrc/common/debug.qh
patch
|
blob
|
history
diff --git
a/qcsrc/common/debug.qh
b/qcsrc/common/debug.qh
index
b26c19d
..
583e626
100644
(file)
--- 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);