aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
diff options
context:
space:
mode:
authorMax Horn2002-11-29 18:27:35 +0000
committerMax Horn2002-11-29 18:27:35 +0000
commita730f7f6df8ff29c807a5dc57b70ce9b5efde30f (patch)
treea77496b48df4a9382900b35a6082d6b753f17cbb /scumm/verbs.cpp
parent50e2752ba183a5d77a92d5949404079eda63e253 (diff)
downloadscummvm-rg350-a730f7f6df8ff29c807a5dc57b70ce9b5efde30f.tar.gz
scummvm-rg350-a730f7f6df8ff29c807a5dc57b70ce9b5efde30f.tar.bz2
scummvm-rg350-a730f7f6df8ff29c807a5dc57b70ce9b5efde30f.zip
more cleanup
svn-id: r5752
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r--scumm/verbs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index b00f57b707..7d75677ac1 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -82,12 +82,12 @@ void Scumm::verbMouseOver(int verb)
if (_verbMouseOver == verb)
return;
- if (_verbs[_verbMouseOver].type != 1) {
+ if (_verbs[_verbMouseOver].type != kImageVerbType) {
drawVerb(_verbMouseOver, 0);
_verbMouseOver = verb;
}
- if (_verbs[verb].type != 1 && _verbs[verb].hicolor) {
+ if (_verbs[verb].type != kImageVerbType && _verbs[verb].hicolor) {
drawVerb(verb, 1);
_verbMouseOver = verb;
}
@@ -126,7 +126,7 @@ void Scumm::drawVerb(int vrb, int mode)
vs = &_verbs[vrb];
if (!vs->saveid && vs->curmode && vs->verbid) {
- if (vs->type == 1) {
+ if (vs->type == kImageVerbType) {
drawVerbBitmap(vrb, vs->x, vs->y);
return;
}