mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
FULLPIPE: Fix bug in global_messageHandler3() which prevented mouse handling
This commit is contained in:
parent
cbe41c94f7
commit
de1df05b1f
@ -392,12 +392,10 @@ int global_messageHandler3(ExCommand *cmd) {
|
||||
}
|
||||
return result;
|
||||
case 29:
|
||||
if (!g_fp->_currentScene)
|
||||
return result;
|
||||
|
||||
if (g_fp->_gameLoader->_interactionController->_flag24) {
|
||||
if (g_fp->_gameLoader->_interactionController->_flag24 && g_fp->_currentScene) {
|
||||
ani = g_fp->_currentScene->getStaticANIObjectAtPos(cmd->_sceneClickX, cmd->_sceneClickY);
|
||||
ani2 = g_fp->_currentScene->getStaticANIObject1ById(g_fp->_gameLoader->_field_FA, -1);
|
||||
|
||||
if (ani) {
|
||||
if (g_fp->_msgObjectId2 == ani->_id && g_fp->_msgId == ani->_okeyCode) {
|
||||
cmd->_messageKind = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user