aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/text.cpp')
-rw-r--r--engines/dm/text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dm/text.cpp b/engines/dm/text.cpp
index ab22ac473e..f8aabb31df 100644
--- a/engines/dm/text.cpp
+++ b/engines/dm/text.cpp
@@ -69,8 +69,8 @@ void TextMan::printTextToScreen(uint16 destX, uint16 destY, Color textColor, Col
printTextToBitmap(_vm->_displayMan->_vgaBuffer, _vm->_displayMan->_screenWidth, destX, destY, textColor, bgColor, text, _vm->_displayMan->_screenHeight, viewport);
}
-void TextMan::printToViewport(int16 posX, int16 posY, Color textColor, const char* text) {
- printTextToScreen(posX, posY, textColor, kColorDarkestGray, text, gDungeonViewport);
+void TextMan::printToViewport(int16 posX, int16 posY, Color textColor, const char* text, Color bgColor) {
+ printTextToScreen(posX, posY, textColor, bgColor, text, gDungeonViewport);
}
void TextMan::printWithTrailingSpaces(byte* destBitmap, int16 destPixelWidth, int16 destX, int16 destY, Color textColor,