diff options
author | Gregory Montoir | 2004-01-23 10:34:57 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-23 10:34:57 +0000 |
commit | 82e005fe5ad3803745b47f15fe8463b7709bf1a3 (patch) | |
tree | 0070e6cf67e22ba6880ac795cc72f08d35e1bfd3 /queen/cutaway.cpp | |
parent | 28b365803b3e1dbffb453bb53b23dfa7db9e7277 (diff) | |
download | scummvm-rg350-82e005fe5ad3803745b47f15fe8463b7709bf1a3.tar.gz scummvm-rg350-82e005fe5ad3803745b47f15fe8463b7709bf1a3.tar.bz2 scummvm-rg350-82e005fe5ad3803745b47f15fe8463b7709bf1a3.zip |
use BobSlot::clear instead of Graphics::clearBob
svn-id: r12580
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r-- | queen/cutaway.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index c5e811598e..0b5d2a7e21 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -1097,7 +1097,7 @@ void Cutaway::stop() { ObjectData *from = _vm->logic()->objectData(fromIndex); if (object->image && !from->image && bobIndex && _vm->logic()->currentRoom() == object->room) - _vm->graphics()->clearBob(bobIndex); + _vm->graphics()->bob(bobIndex)->clear(); } if (_vm->logic()->currentRoom() == room) @@ -1125,7 +1125,7 @@ void Cutaway::stop() { int objectFrame = _vm->logic()->findFrame(objectIndex); if (objectFrame == 1000) { - _vm->graphics()->clearBob(bobIndex); + _vm->graphics()->bob(bobIndex)->clear(); } else if (objectFrame) { _vm->bankMan()->unpack(ABS(frame), objectFrame, bank); |