LAB: Use Common::Point in IntuiMessage
This commit is contained in:
parent
318dc59382
commit
832d87e0bf
5 changed files with 10 additions and 15 deletions
|
@ -580,13 +580,8 @@ void LabEngine::mainGameLoop() {
|
|||
_graphics->screenUpdate();
|
||||
} else {
|
||||
gotMessage = true;
|
||||
|
||||
Common::Point curPos;
|
||||
curPos.x = curMsg->_mouseX;
|
||||
curPos.y = curMsg->_mouseY;
|
||||
|
||||
_followingCrumbs = false;
|
||||
if (!fromCrumbs(curMsg->_msgClass, curMsg->_code, curMsg->_qualifier, curPos, curInv, curMsg, forceDraw, curMsg->_code, actionMode))
|
||||
if (!fromCrumbs(curMsg->_msgClass, curMsg->_code, curMsg->_qualifier, curMsg->_mouse, curInv, curMsg, forceDraw, curMsg->_code, actionMode))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue