aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2008-01-05 10:37:36 +0000
committerPaul Gilbert2008-01-05 10:37:36 +0000
commit13cb1e710ff2a6be394d76334d267b9e8bf12ba9 (patch)
tree1c09f8db50027ea344bedfc6e0bf764bf43e800d /engines
parent2c86089264b1b917986076353c08bd6cf9d16b17 (diff)
downloadscummvm-rg350-13cb1e710ff2a6be394d76334d267b9e8bf12ba9.tar.gz
scummvm-rg350-13cb1e710ff2a6be394d76334d267b9e8bf12ba9.tar.bz2
scummvm-rg350-13cb1e710ff2a6be394d76334d267b9e8bf12ba9.zip
Fix to use correct EGA/VGA colour when displaying talk conversation options
svn-id: r30230
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/hotspots.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 6ca7fdcc1a..75f225a187 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -3375,8 +3375,9 @@ void HotspotTickHandlers::talkAnimHandler(Hotspot &h) {
screen.screen().fillRect(r, 0);
// Display line
- byte colour = (lineNum+1 == selectedLine) ?
- DIALOG_WHITE_COLOUR : DIALOG_TEXT_COLOUR;
+ byte colour = LureEngine::getReference().isEGA() ?
+ ((lineNum + 1 == selectedLine) ? EGA_DIALOG_WHITE_COLOUR : EGA_DIALOG_TEXT_COLOUR) :
+ ((lineNum + 1 == selectedLine) ? VGA_DIALOG_WHITE_COLOUR : VGA_DIALOG_TEXT_COLOUR);
screen.screen().writeString(r.left, r.top, buffer, false, colour);
}