diff options
author | Eugene Sandulenko | 2017-03-20 19:35:29 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-20 19:55:34 +0100 |
commit | ccc6cbfb9106d17777422aa4b3c10d19d5330328 (patch) | |
tree | 6f78e43c072cf8aaf9b2bfafb44b0e0cc0fed47a /engines/director/events.cpp | |
parent | 7843e12cad82f9a70a82f80b1104893fcffdc7ad (diff) | |
download | scummvm-rg350-ccc6cbfb9106d17777422aa4b3c10d19d5330328.tar.gz scummvm-rg350-ccc6cbfb9106d17777422aa4b3c10d19d5330328.tar.bz2 scummvm-rg350-ccc6cbfb9106d17777422aa4b3c10d19d5330328.zip |
DIRECTOR: Fix event processing for generic events
Diffstat (limited to 'engines/director/events.cpp')
-rw-r--r-- | engines/director/events.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/events.cpp b/engines/director/events.cpp index e60af2244b..5021018dc1 100644 --- a/engines/director/events.cpp +++ b/engines/director/events.cpp @@ -88,14 +88,14 @@ void DirectorEngine::processEvents() { if (getVersion() > 3) { // TODO: check that this is the order of script execution! - _lingo->processEvent(kEventMouseUp, kCastScript, currentFrame->_sprites[spriteId]->_castId); - _lingo->processEvent(kEventMouseUp, kSpriteScript, currentFrame->_sprites[spriteId]->_scriptId); + _lingo->processEvent(kEventNone, kCastScript, currentFrame->_sprites[spriteId]->_castId); + _lingo->processEvent(kEventNone, kSpriteScript, currentFrame->_sprites[spriteId]->_scriptId); } else { // Frame script overrides sprite script if (!currentFrame->_sprites[spriteId]->_scriptId) - _lingo->processEvent(kEventMouseUp, kSpriteScript, currentFrame->_sprites[spriteId]->_castId + 1024); + _lingo->processEvent(kEventNone, kSpriteScript, currentFrame->_sprites[spriteId]->_castId + 1024); else - _lingo->processEvent(kEventMouseUp, kFrameScript, currentFrame->_sprites[spriteId]->_scriptId); + _lingo->processEvent(kEventNone, kFrameScript, currentFrame->_sprites[spriteId]->_scriptId); } sc->_currentMouseDownSpriteId = 0; |