summaryrefslogtreecommitdiff
path: root/src/graphics/RasterDrawMethods.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/RasterDrawMethods.inc')
-rw-r--r--src/graphics/RasterDrawMethods.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphics/RasterDrawMethods.inc b/src/graphics/RasterDrawMethods.inc
index 4d85f60..76b9dde 100644
--- a/src/graphics/RasterDrawMethods.inc
+++ b/src/graphics/RasterDrawMethods.inc
@@ -19,6 +19,9 @@ int PIXELMETHODS_CLASS::drawtext(int x, int y, const char *s, int r, int g, int
else if (*s == '\x0F')
{
if(!s[1] || !s[2] || !s[3]) break;
+ oR = r;
+ oG = g;
+ oB = b;
r = s[1];
g = s[2];
b = s[3];