aboutsummaryrefslogtreecommitdiff
path: root/scumm/verbs.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-06 19:17:01 +0000
committerMax Horn2004-01-06 19:17:01 +0000
commit6c280c96f412bdee412b57646d6e3cee9e4f1905 (patch)
tree163e5d1ad0dba307dc58a21dd38d61ee5d7293dd /scumm/verbs.cpp
parent88303d9fe91aabec58f465451b5fdefd0ac657a5 (diff)
downloadscummvm-rg350-6c280c96f412bdee412b57646d6e3cee9e4f1905.tar.gz
scummvm-rg350-6c280c96f412bdee412b57646d6e3cee9e4f1905.tar.bz2
scummvm-rg350-6c280c96f412bdee412b57646d6e3cee9e4f1905.zip
proper fix
svn-id: r12192
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r--scumm/verbs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 9814e98373..da4bd4890f 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -435,7 +435,7 @@ void ScummEngine::restoreVerbBG(int verb) {
void ScummEngine::drawVerbBitmap(int verb, int x, int y) {
VirtScreen *vs;
VerbSlot *vst;
- byte twobufs;
+ bool twobufs;
const byte *imptr = 0;
int ydiff, xstrip;
int imgw, imgh;
@@ -499,7 +499,7 @@ void ScummEngine::drawVerbBitmap(int verb, int x, int y) {
gdi.enableZBuffer();
- vs->hasTwoBuffers = twobufs != 0;
+ vs->hasTwoBuffers = twobufs;
}
int ScummEngine::getVerbSlot(int id, int mode) const {