[Scummvm-git-logs] scummvm master -> e967c16350e302a9d20db07e3d9bf9a05e9c1df5

sev- noreply at scummvm.org
Sat Nov 20 10:21:10 UTC 2021


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:
e967c16350 DIRECTOR: add stub handler for some events


Commit: e967c16350e302a9d20db07e3d9bf9a05e9c1df5
    https://github.com/scummvm/scummvm/commit/e967c16350e302a9d20db07e3d9bf9a05e9c1df5
Author: Misty De Meo (mistydemeo at gmail.com)
Date: 2021-11-20T11:21:06+01:00

Commit Message:
DIRECTOR: add stub handler for some events

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


diff --git a/engines/director/lingo/lingo-events.cpp b/engines/director/lingo/lingo-events.cpp
index 78d63364a1..f4452e2406 100644
--- a/engines/director/lingo/lingo-events.cpp
+++ b/engines/director/lingo/lingo-events.cpp
@@ -266,6 +266,14 @@ void Movie::queueEvent(Common::Queue<LingoEvent> &queue, LEvent event, int targe
 			queueMovieEvent(queue, event, eventId);
 			break;
 
+		// no-op; only handled by the primary event handler above
+		// empty case avoids them generating logs from the default
+		// unhandled event case below.
+		case kEventKeyUp:
+		case kEventKeyDown:
+		case kEventTimeout:
+			break;
+
 		default:
 			warning("registerEvent: Unhandled event %s", _lingo->_eventHandlerTypes[event]);
 		}




More information about the Scummvm-git-logs mailing list