diff options
| -rw-r--r-- | scumm/resource.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 4ef190c25c..a30a21b83c 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1268,7 +1268,10 @@ byte *Scumm::getStringAddressVar(int i) {  	addr = getResourceAddress(rtString, _scummVars[i]);  	if (addr == NULL) -		error("NULL string var %d slot %d", i, _scummVars[i]); +		// as this is used for string mapping in the gui +		// it must be allowed to return NULL +		// error("NULL string var %d slot %d", i, _scummVars[i]); +		return NULL;  	if (_features & GF_NEW_OPCODES)  		return ((ArrayHeader *)addr)->data; | 
