diff options
Diffstat (limited to 'engines/illusions/bbdou')
-rw-r--r-- | engines/illusions/bbdou/bbdou_specialcode.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/illusions/bbdou/bbdou_specialcode.cpp b/engines/illusions/bbdou/bbdou_specialcode.cpp index 2d8df43f23..c7e79a722b 100644 --- a/engines/illusions/bbdou/bbdou_specialcode.cpp +++ b/engines/illusions/bbdou/bbdou_specialcode.cpp @@ -531,10 +531,7 @@ void BbdouSpecialCode::setCursorControlRoutine(uint32 objectId, int num) { } Common::Point BbdouSpecialCode::getBackgroundCursorPos(Common::Point cursorPos) { - Common::Point pt = _vm->_camera->getScreenOffset(); - pt.x += cursorPos.x; - pt.y += cursorPos.y; - return pt; + return _vm->_camera->getScreenOffset() + cursorPos; } void BbdouSpecialCode::showBubble(uint32 objectId, uint32 overlappedObjectId, uint32 holdingObjectId, |