diff options
Diffstat (limited to 'scumm/charset.h')
-rw-r--r-- | scumm/charset.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/charset.h b/scumm/charset.h index e546d16b73..dbadc1a2c3 100644 --- a/scumm/charset.h +++ b/scumm/charset.h @@ -92,6 +92,7 @@ public: int getStringWidth(int a, const byte *str); void addLinebreaks(int a, byte *str, int pos, int maxwidth); + void translateColor(); virtual void setCurID(byte id) = 0; int getCurID() { return _curId; } @@ -99,7 +100,7 @@ public: virtual int getFontHeight() = 0; virtual int getCharWidth(byte chr) = 0; - virtual void setColor(byte color) { _color = color; } + virtual void setColor(byte color) { _color = color; translateColor(); } }; class CharsetRendererCommon : public CharsetRenderer { |