[Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.341,1.342

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Tue Oct 18 01:56:53 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8881/scumm

Modified Files:
	resource.cpp 
Log Message:
Minor error message fix: isLocked() isn't trying to unlock the resource.


Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.341
retrieving revision 1.342
diff -u -d -r1.341 -r1.342
--- resource.cpp	18 Oct 2005 01:30:21 -0000	1.341
+++ resource.cpp	18 Oct 2005 08:56:14 -0000	1.342
@@ -933,7 +933,7 @@
 }
 
 bool ResourceManager::isLocked(int type, int i) const {
-	if (!validateResource("Unlocking", type, i))
+	if (!validateResource("isLocked", type, i))
 		return false;
 	return (flags[type][i] & RF_LOCK) != 0;
 }





More information about the Scummvm-git-logs mailing list