Skip to content

Commit

Permalink
SCI: Ignore an invalid export in a script in the demo of RAMA
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Jan 15, 2012
1 parent cbe7527 commit c69ac88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/sci/engine/vm.cpp
Expand Up @@ -235,6 +235,9 @@ ExecStack *execute_method(EngineState *s, uint16 script, uint16 pubfunct, StackP
if (g_sci->getGameId() == GID_TORIN && script == 64036) {
// Script 64036 in Torin's Passage is empty and contains an invalid
// (empty) export
} else if (g_sci->getGameId() == GID_RAMA && script == 64908) {
// Script 64908 in the demo of RAMA contains an invalid (empty)
// export
} else
#endif
error("Request for invalid exported function 0x%x of script %d", pubfunct, script);
Expand Down

0 comments on commit c69ac88

Please sign in to comment.