diff options
| author | Gregory Montoir | 2004-01-08 22:46:42 +0000 |
|---|---|---|
| committer | Gregory Montoir | 2004-01-08 22:46:42 +0000 |
| commit | 1b1ce1faf71f1e7fca9cf030e08bffd343a2bf79 (patch) | |
| tree | 1ffb8d13a258d8626d0b99fd122b49d276c344fa /queen/command.cpp | |
| parent | 65bfcb71fe7910e16b5e4e0e6665fa3b9e77510e (diff) | |
| download | scummvm-rg350-1b1ce1faf71f1e7fca9cf030e08bffd343a2bf79.tar.gz scummvm-rg350-1b1ce1faf71f1e7fca9cf030e08bffd343a2bf79.tar.bz2 scummvm-rg350-1b1ce1faf71f1e7fca9cf030e08bffd343a2bf79.zip | |
moved the remaining 'graphics' stuff from Logic to Graphics
svn-id: r12266
Diffstat (limited to 'queen/command.cpp')
| -rw-r--r-- | queen/command.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index 8d2dc663a7..da1b9b0697 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -394,14 +394,14 @@ int16 Command::executeCommand(uint16 comId, int16 condResult) { } else { od->image = com->imageOrder; } - _vm->logic()->roomRefreshObject(_state.subject[0]); + _vm->graphics()->refreshObject(_state.subject[0]); } else { // this object is not being updated by command list, see if // it has another image copied to it if (_state.subject[0] > 0) { // an object (not an item) if (_vm->logic()->objectData(_state.subject[0])->image != oldImage) { - _vm->logic()->roomRefreshObject(_state.subject[0]); + _vm->graphics()->refreshObject(_state.subject[0]); } } } @@ -1144,7 +1144,7 @@ void Command::setObjects(uint16 command) { if (dstObj != _state.subject[0]) { // if the new object we have updated is on screen and // is not current object then update it - _vm->logic()->roomRefreshObject(dstObj); + _vm->graphics()->refreshObject(dstObj); } } else { // hide the object @@ -1153,7 +1153,7 @@ void Command::setObjects(uint16 command) { // may need to turn BOBs off for objects to be hidden on current // screen ! if the new object we have updated is on screen and // is not current object then update it - _vm->logic()->roomRefreshObject(dstObj); + _vm->graphics()->refreshObject(dstObj); } } } |
