[Scummvm-cvs-logs] SF.net SVN: scummvm:[46892] scummvm/trunk/engines/sci/gui/gui_menu.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jan 2 19:02:21 CET 2010


Revision: 46892
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46892&view=rev
Author:   thebluegr
Date:     2010-01-02 18:02:21 +0000 (Sat, 02 Jan 2010)

Log Message:
-----------
Changed the default case of setAttribute() to a warning, so that loading works in LSL3

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui_menu.cpp

Modified: scummvm/trunk/engines/sci/gui/gui_menu.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_menu.cpp	2010-01-02 17:16:59 UTC (rev 46891)
+++ scummvm/trunk/engines/sci/gui/gui_menu.cpp	2010-01-02 18:02:21 UTC (rev 46892)
@@ -256,7 +256,8 @@
 		itemEntry->tag = value.offset;
 		break;
 	default:
-		error("setAttribute() called with unsupported attributeId %X", attributeId);
+		// Happens when loading a game in LSL3 - attribute 1A
+		warning("setAttribute() called with unsupported attributeId %X", attributeId);
 	}
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list