[Scummvm-git-logs] scummvm master -> 26eb320b717bcf0aebdbe79651330d0de31c6fce

sev- sev at scummvm.org
Sat Mar 18 23:39:10 CET 2017


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:
26eb320b71 DIRECTOR: Fix warning


Commit: 26eb320b717bcf0aebdbe79651330d0de31c6fce
    https://github.com/scummvm/scummvm/commit/26eb320b717bcf0aebdbe79651330d0de31c6fce
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-03-18T23:38:55+01:00

Commit Message:
DIRECTOR: Fix warning

Changed paths:
    engines/director/events.cpp


diff --git a/engines/director/events.cpp b/engines/director/events.cpp
index f93ec5a..e60af22 100644
--- a/engines/director/events.cpp
+++ b/engines/director/events.cpp
@@ -133,7 +133,7 @@ void DirectorEngine::processEvents() {
 		g_system->updateScreen();
 		g_system->delayMillis(10);
 
-		if (currentFrame > 0)
+		if (sc->getCurrentFrame() > 0)
 			_lingo->processEvent(kEventIdle, kFrameScript, sc->getCurrentFrame());
 	}
 }





More information about the Scummvm-git-logs mailing list