[Scummvm-cvs-logs] scummvm master -> 344369c294e4ade7b6f72de27daf794b0d23d3e3

digitall digitall at scummvm.org
Mon Mar 28 23:46:31 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 .

344369c294 SCI: Fix Compilation with --enable-release set.

Commit: 344369c294e4ade7b6f72de27daf794b0d23d3e3
Author: D G Turner (digitall at scummvm.org)
Date: 2011-03-28T14:45:01-07:00

Commit Message:
SCI: Fix Compilation with --enable-release set.

Changed paths:

diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 496efb6..d209a0c 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -137,7 +137,7 @@ static reg_t read_var(EngineState *s, int type, int index) {
 					index, originReply.objectName.c_str(), originReply.methodName.c_str(), originReply.scriptNr, 
 					g_sci->getEngineState()->currentRoomNumber(), originReply.localCallOffset);
-					r[index] = NULL_REG;
+					s->variables[type][index] = NULL_REG;
 					error("Uninitialized read for temp %d from method %s::%s (script %d, room %d, localCall %x)", 

More information about the Scummvm-git-logs mailing list