diff options
Diffstat (limited to 'engines/scumm/he')
| -rw-r--r-- | engines/scumm/he/resource_he.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp index 33e6748860..f8fb1efca2 100644 --- a/engines/scumm/he/resource_he.cpp +++ b/engines/scumm/he/resource_he.cpp @@ -522,12 +522,13 @@ int Win32ResExtractor::do_resources_recurs(WinLibrary *fi, WinResource *base,  	/* get a list of all resources at this level */  	wr = list_resources(fi, base, &rescnt); -	if (wr == NULL) +	if (wr == NULL) {  		if (size != 0)  			return size;  		else  			return 0; - +	} +	  	/* process each resource listed */  	for (c = 0 ; c < rescnt ; c++) {  		/* (over)write the corresponding WinResource holder with the current */ | 
