mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Missed one section.
svn-id: r17939
This commit is contained in:
@@ -1102,6 +1102,10 @@ void ScummEngine_v100he::o100_resourceRoutines() {
|
||||
break;
|
||||
case 136:
|
||||
// Queue loading
|
||||
if (_heResType == rtScript && _heResId >= _numGlobalScripts)
|
||||
break;
|
||||
|
||||
ensureResourceLoaded(_heResType, _heResId);
|
||||
break;
|
||||
case 137:
|
||||
if (_heResType == rtScript && _heResId >= _numGlobalScripts)
|
||||
|
||||
@@ -512,7 +512,6 @@ void ScummEngine_v70he::o70_resourceRoutines() {
|
||||
|
||||
subOp = fetchScriptByte();
|
||||
|
||||
debug(0, "o70_resourceRoutines: case %d", subOp);
|
||||
switch (subOp) {
|
||||
case 100: // SO_LOAD_SCRIPT
|
||||
resid = pop();
|
||||
@@ -606,6 +605,8 @@ void ScummEngine_v70he::o70_resourceRoutines() {
|
||||
case 120:
|
||||
// Queue load script
|
||||
resid = pop();
|
||||
if (resid >= _numGlobalScripts)
|
||||
break;
|
||||
ensureResourceLoaded(rtScript, resid);
|
||||
break;
|
||||
case 121:
|
||||
|
||||
Reference in New Issue
Block a user