mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
Opcode 11 is sfLockUser. Also updated Scene::getHeight() for this change. Now, the interface is locked when the scripts lock it. This prevents erroneous actor movement when skipping speech by left clicking, and other incorrect behavior. Special thanks to h00ligan for all his help
svn-id: r27064
This commit is contained in:
parent
b159645be4
commit
89b80a3f8b
@ -326,6 +326,8 @@ class Scene {
|
||||
int getHeight() const {
|
||||
if (_vm->_interface->getMode() == kPanelChapterSelection)
|
||||
return _vm->getDisplayInfo().logicalHeight;
|
||||
else if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 8)
|
||||
return _vm->getDisplayInfo().logicalHeight;
|
||||
else
|
||||
return _vm->getDisplayInfo().sceneHeight;
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ static const ScriptFunctionDescription IHNMscriptFunctionsList[IHNM_SCRIPT_FUNCT
|
||||
OPCODE(sfSetActorFacing),
|
||||
OPCODE(sfStartBgdAnim),
|
||||
OPCODE(sfStopBgdAnim),
|
||||
OPCODE(sfNull),
|
||||
OPCODE(sfLockUser),
|
||||
OPCODE(sfPreDialog),
|
||||
OPCODE(sfKillActorThreads),
|
||||
OPCODE(sfFaceTowards),
|
||||
|
Loading…
x
Reference in New Issue
Block a user