[Scummvm-git-logs] scummvm master -> 402c4758f312cb17689493a10fce4ee1aba63a61

sev- sev at scummvm.org
Mon Oct 17 20:01:43 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
402c4758f3 DIRECTOR: Lingo: Hide noisy warnings


Commit: 402c4758f312cb17689493a10fce4ee1aba63a61
    https://github.com/scummvm/scummvm/commit/402c4758f312cb17689493a10fce4ee1aba63a61
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-10-17T19:31:47+02:00

Commit Message:
DIRECTOR: Lingo: Hide noisy warnings

Changed paths:
    engines/director/lingo/lingo.cpp



diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index cef7f33..9c6b586 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -235,7 +235,7 @@ void Lingo::addCode(const char *code, ScriptType type, uint16 id) {
 
 void Lingo::executeScript(ScriptType type, uint16 id) {
 	if (!_scripts[type].contains(id)) {
-		warning("Request to execute non-existant script type %d id %d", type, id);
+		debugC(3, kDebugLingoExec, "Request to execute non-existant script type %d id %d", type, id);
 		return;
 	}
 
@@ -279,7 +279,6 @@ void Lingo::processEvent(LEvent event, int entityId) {
 		call(_eventHandlerTypes[event], 0);
 		pop();
 	} else {
-		warning("---- Handler %s is not set", _eventHandlerTypes[event]);
 		debugC(8, kDebugLingoExec, "STUB: processEvent(%s) for %d", _eventHandlerTypes[event], entityId);
 	}
 }





More information about the Scummvm-git-logs mailing list