From f2d72d9473be5dd3d942976e8ed84d58d746def9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 24 May 2008 22:11:41 +0000 Subject: Patch #1969189: "CinE renderer rewrite" svn-id: r32257 --- engines/cine/prc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cine/prc.cpp') diff --git a/engines/cine/prc.cpp b/engines/cine/prc.cpp index 0f068a197e..402c97b1a6 100644 --- a/engines/cine/prc.cpp +++ b/engines/cine/prc.cpp @@ -98,10 +98,10 @@ void loadPrc(const char *pPrcName) { char buffer[256]; for (s = 0; s < numScripts; s++) { - if (scriptTable[s].size) { + if (scriptTable[s]->_size) { sprintf(buffer, "%s_%03d.txt", pPrcName, s); - decompileScript(scriptTable[s].ptr, scriptTable[s].stack, scriptTable[s].size, s); + decompileScript((const byte *)scriptTable[s]->getString(0), scriptTable[s]->_size, s); dumpScript(buffer); } } -- cgit v1.2.3