[Scummvm-cvs-logs] scummvm master -> 12635ee198e0e012346f0d8105a02ce615721873

bluegr md5 at scummvm.org
Sun Jun 26 15:06:24 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
12635ee198 CINE: Fixed compilation when DUMP_SCRIPTS is set


Commit: 12635ee198e0e012346f0d8105a02ce615721873
    https://github.com/scummvm/scummvm/commit/12635ee198e0e012346f0d8105a02ce615721873
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-06-26T06:00:22-07:00

Commit Message:
CINE: Fixed compilation when DUMP_SCRIPTS is set

Changed paths:
    engines/cine/prc.cpp



diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp
index d86107a..ba9ba70 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);
 			}
 		}






More information about the Scummvm-git-logs mailing list