[Scummvm-git-logs] scummvm master -> 8656c91e9df8cd9a915abb47b973d06b7449f4e3

djsrv dservilla at gmail.com
Tue Aug 4 22:27:51 UTC 2020


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:
8656c91e9d DIRECTOR: Remove leftover old event code


Commit: 8656c91e9df8cd9a915abb47b973d06b7449f4e3
    https://github.com/scummvm/scummvm/commit/8656c91e9df8cd9a915abb47b973d06b7449f4e3
Author: djsrv (dservilla at gmail.com)
Date: 2020-08-04T18:25:29-04:00

Commit Message:
DIRECTOR: Remove leftover old event code

Changed paths:
    engines/director/events.cpp


diff --git a/engines/director/events.cpp b/engines/director/events.cpp
index 6fcc25a508..2723cd070c 100644
--- a/engines/director/events.cpp
+++ b/engines/director/events.cpp
@@ -65,18 +65,6 @@ void DirectorEngine::processEvents() {
 
 	uint endTime = g_system->getMillis() + 10;
 
-	Movie *m = getCurrentMovie();
-	if (m) {
-		Score *sc = m->getScore();
-
-		if (sc && sc->getCurrentFrame() >= sc->_frames.size()) {
-			warning("processEvents: request to access frame %d of %d", sc->getCurrentFrame(), sc->_frames.size() - 1);
-			return;
-		}
-	}
-
-	Common::Point pos;
-
 	while (g_system->getMillis() < endTime) {
 		while (g_system->getEventManager()->pollEvent(event)) {
 			if (_wm->processEvent(event)) {




More information about the Scummvm-git-logs mailing list