aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-03-06 20:19:55 +0100
committerEugene Sandulenko2017-03-06 20:19:55 +0100
commit28eb61657e832682fcff055da3b66689d790946b (patch)
treefcdcc1c6dbf93519deb6521a94b32a49a90bc243 /engines
parent8b9d9bcf84d233494a5b4cd4527d682286d6e8f2 (diff)
downloadscummvm-rg350-28eb61657e832682fcff055da3b66689d790946b.tar.gz
scummvm-rg350-28eb61657e832682fcff055da3b66689d790946b.tar.bz2
scummvm-rg350-28eb61657e832682fcff055da3b66689d790946b.zip
DIRECTOR: Execture sprite scripts in D2/D3
Diffstat (limited to 'engines')
-rw-r--r--engines/director/score.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 6f7be1a62a..0d0be21f10 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -1013,6 +1013,7 @@ void Score::processEvents() {
_lingo->processEvent(kEventMouseUp, kSpriteScript, _frames[_currentFrame]->_sprites[spriteId]->_scriptId);
} else {
// D3 doesn't have cast member or sprite scripts. Just Frame Scripts.
+ _lingo->processEvent(kEventMouseUp, kSpriteScript, _frames[_currentFrame]->_sprites[spriteId]->_castId + 1024);
_lingo->processEvent(kEventMouseUp, kFrameScript, _frames[_currentFrame]->_sprites[spriteId]->_scriptId);
}
}