aboutsummaryrefslogtreecommitdiff
path: root/verbs.cpp
diff options
context:
space:
mode:
authorMax Horn2002-05-20 14:43:22 +0000
committerMax Horn2002-05-20 14:43:22 +0000
commit3da77a05900e51d9ad3f1051b18c2b4d46b631a5 (patch)
treeca1d82363804fb323d68242a55280a9956a2069f /verbs.cpp
parent0c861c9ff2155fb9e44847f249232166c93ae695 (diff)
downloadscummvm-rg350-3da77a05900e51d9ad3f1051b18c2b4d46b631a5.tar.gz
scummvm-rg350-3da77a05900e51d9ad3f1051b18c2b4d46b631a5.tar.bz2
scummvm-rg350-3da77a05900e51d9ad3f1051b18c2b4d46b631a5.zip
small tweak, no functionality changed
svn-id: r4363
Diffstat (limited to 'verbs.cpp')
-rw-r--r--verbs.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/verbs.cpp b/verbs.cpp
index f96d005e7c..ac0956b698 100644
--- a/verbs.cpp
+++ b/verbs.cpp
@@ -116,7 +116,6 @@ int Scumm::checkMouseOver(int x, int y)
void Scumm::drawVerb(int vrb, int mode)
{
VerbSlot *vs;
- byte color;
byte tmp;
if (!vrb)
@@ -136,13 +135,13 @@ void Scumm::drawVerb(int vrb, int mode)
string[4].ypos = vs->y;
string[4].right = 319;
string[4].center = vs->center;
- if (mode && vs->hicolor)
- color = vs->hicolor;
- else
- color = vs->color;
- string[4].color = color;
+
if (vs->curmode == 2)
string[4].color = vs->dimcolor;
+ else if (mode && vs->hicolor)
+ string[4].color = vs->hicolor;
+ else
+ string[4].color = vs->color;
// FIXME For the future: Indy3 and under inv scrolling
/*