aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.cpp
diff options
context:
space:
mode:
authorGregory Montoir2005-05-09 18:25:28 +0000
committerGregory Montoir2005-05-09 18:25:28 +0000
commitda06fe93a97193cfa3c077d144422c5bc47b46ff (patch)
tree97bea12cbdc565d97c93f57888a675da03226d44 /queen/logic.cpp
parentc804ec2b67b7658bf7df54c0872219d50c015538 (diff)
downloadscummvm-rg350-da06fe93a97193cfa3c077d144422c5bc47b46ff.tar.gz
scummvm-rg350-da06fe93a97193cfa3c077d144422c5bc47b46ff.tar.bz2
scummvm-rg350-da06fe93a97193cfa3c077d144422c5bc47b46ff.zip
fixed debug areas display ; some minor cleanup
svn-id: r18007
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r--queen/logic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp
index 3e8c92d532..01c6919aff 100644
--- a/queen/logic.cpp
+++ b/queen/logic.cpp
@@ -919,8 +919,8 @@ void Logic::inventoryRefresh() {
for (int i = 0; i < 4; ++i) {
uint16 itemNum = _inventoryItem[i];
if (itemNum != 0) {
- // 1st object in inventory uses frame 8,
- // whereas 2nd, 3rd and 4th uses frame 9
+ // 1st object in inventory uses frame 9,
+ // whereas 2nd, 3rd and 4th uses frame 8
uint16 dstFrame = (itemNum != 0) ? 8 : 9;
// unpack frame for object and draw it
_vm->bankMan()->unpack(_itemData[itemNum].frame, dstFrame, 14);
@@ -1213,7 +1213,7 @@ void Logic::handlePinnacleRoom() {
joe->frameNum = _vm->input()->mousePosX() / 36 + 45;
// bobs have been unpacked from animating objects, we don't need them
- // to animate anymore ; so turn animating off
+ // to animate anymore ; so turn animation off
joe->animating = piton->animating = false;
_vm->update();
@@ -1297,7 +1297,7 @@ void Logic::update() {
if (_credits)
_credits->update();
- if (_vm->debugger()->_drawAreas) {
+ if (_vm->debugger()->flags() & Debugger::DF_DRAW_AREAS) {
_vm->grid()->drawZones();
}
}