aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2011-06-26 15:59:10 +0300
committerFilippos Karapetis2011-06-26 16:00:22 +0300
commit12635ee198e0e012346f0d8105a02ce615721873 (patch)
tree4da6114d702d1b7422ebce36014c8c32717e0042
parentc6a1051c3defc6cff4a2df5e064a63d6b586f2ae (diff)
downloadscummvm-rg350-12635ee198e0e012346f0d8105a02ce615721873.tar.gz
scummvm-rg350-12635ee198e0e012346f0d8105a02ce615721873.tar.bz2
scummvm-rg350-12635ee198e0e012346f0d8105a02ce615721873.zip
CINE: Fixed compilation when DUMP_SCRIPTS is set
-rw-r--r--engines/cine/prc.cpp4
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);
}
}