diff options
-rw-r--r-- | engines/cine/prc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp index d86107a8f8..ba9ba70110 100644 --- a/engines/cine/prc.cpp +++ b/engines/cine/prc.cpp @@ -98,10 +98,10 @@ bool loadPrc(const char *pPrcName) { char buffer[256]; for (s = 0; s < numScripts; s++) { - if (scriptTable[s]->_size) { + if (g_cine->_scriptTable[s]->_size) { sprintf(buffer, "%s_%03d.txt", pPrcName, s); - decompileScript((const byte *)scriptTable[s]->getString(0), scriptTable[s]->_size, s); + decompileScript((const byte *)g_cine->_scriptTable[s]->getString(0), g_cine->_scriptTable[s]->_size, s); dumpScript(buffer); } } |