[Scummvm-cvs-logs] SF.net SVN: scummvm:[53849] scummvm/trunk/engines/lastexpress/game/action. cpp

littleboy at users.sourceforge.net littleboy at users.sourceforge.net
Tue Oct 26 14:11:06 CEST 2010


Revision: 53849
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53849&view=rev
Author:   littleboy
Date:     2010-10-26 12:11:06 +0000 (Tue, 26 Oct 2010)

Log Message:
-----------
LASTEXPRESS: Turn dummy action error into a warning

Modified Paths:
--------------
    scummvm/trunk/engines/lastexpress/game/action.cpp

Modified: scummvm/trunk/engines/lastexpress/game/action.cpp
===================================================================
--- scummvm/trunk/engines/lastexpress/game/action.cpp	2010-10-26 12:10:49 UTC (rev 53848)
+++ scummvm/trunk/engines/lastexpress/game/action.cpp	2010-10-26 12:11:06 UTC (rev 53849)
@@ -406,7 +406,9 @@
 //////////////////////////////////////////////////////////////////////////
 // Action 0
 IMPLEMENT_ACTION(dummy)
-	error("Action::action_dummy: Function should never be called (hotspot action: %d)!", hotspot.action);
+	warning("Action::action_dummy: Dummy action function called (hotspot action: %d)!", hotspot.action);
+
+	return kSceneInvalid;
 }
 
 //////////////////////////////////////////////////////////////////////////


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