aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/verb.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-03-08 10:08:09 +0000
committerTravis Howell2009-03-08 10:08:09 +0000
commit56189fcf30e0f0bcf086d82896a26e6bda2b0bc0 (patch)
treeadd856e36814ad2c568166b71a3f02d1587392e0 /engines/agos/verb.cpp
parenta630759d6db2d3f0aae4b7baf9a1e0fcf323f2e1 (diff)
downloadscummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.tar.gz
scummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.tar.bz2
scummvm-rg350-56189fcf30e0f0bcf086d82896a26e6bda2b0bc0.zip
Clarify several errors messages.
svn-id: r39219
Diffstat (limited to 'engines/agos/verb.cpp')
-rw-r--r--engines/agos/verb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/verb.cpp b/engines/agos/verb.cpp
index 6f91562a87..c6fc1d193f 100644
--- a/engines/agos/verb.cpp
+++ b/engines/agos/verb.cpp
@@ -964,7 +964,7 @@ void AGOSEngine::invertBox(HitArea *ha, byte a, byte b, byte c, byte d) {
byte *src, color;
int w, h, i;
- _lockWord |= 0x8000;
+ _videoLockOut |= 0x8000;
Graphics::Surface *screen = _system->lockScreen();
src = (byte *)screen->pixels + ha->y * _dxSurfacePitch + ha->x;
@@ -1024,7 +1024,7 @@ void AGOSEngine::invertBox(HitArea *ha, byte a, byte b, byte c, byte d) {
_system->unlockScreen();
- _lockWord &= ~0x8000;
+ _videoLockOut &= ~0x8000;
}
// Personal Nightmare specific
@@ -1119,7 +1119,7 @@ void AGOSEngine_PN::execMouseHit(HitArea *ha) {
hitBox5(ha);
else if (ha->flags & kOBFRoomBox)
hitBox6(ha);
- } else if (_lockWord & 10) {
+ } else if (_videoLockOut & 10) {
hitBox8(ha);
}
} else {
@@ -1163,7 +1163,7 @@ void AGOSEngine_PN::hitBox4(HitArea *ha) {
return;
uint16 num = ha->msg1 & ~0x8000;
- if ((_lockWord & 0x10) && !(ha->flags & (kOBFInventoryBox | kOBFRoomBox)) &&
+ if ((_videoLockOut & 0x10) && !(ha->flags & (kOBFInventoryBox | kOBFRoomBox)) &&
!testContainer(num)) {
return;
}