Commit c9503fc4 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

editor: handle negative color indexes for m32script printext16 the same as the...

editor: handle negative color indexes for m32script printext16 the same as the line drawing commands
parent 2363635c
......@@ -2608,7 +2608,7 @@ badindex:
else if (tw==CON_PRINTEXT16)
{
if (!in3dmode())
printext16(x, y, editorcolors[col&255], backcol<0 ? -1 : editorcolors[backcol&255],
printext16(x, y, col>=0?editorcolors[col&255]:((-col)&255), backcol<0 ? -1 : editorcolors[backcol&255],
quotetext, fontsize);
}
else if (tw==CON_DRAWLABEL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment