aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {