use BobSlot::clear instead of Graphics::clearBob

svn-id: r12578
This commit is contained in:
Gregory Montoir 2004-01-23 10:27:30 +00:00
parent 0bece175e4
commit 46f25d440f

View File

@ -1083,7 +1083,7 @@ void Command::setObjects(uint16 command) {
if (image1 != 0 && image2 == 0 && objData->room == _vm->logic()->currentRoom()) {
uint16 bobNum = _vm->logic()->findBob(dstObj);
if (bobNum != 0) {
_vm->graphics()->clearBob(bobNum);
_vm->graphics()->bob(bobNum)->clear();
}
}
}