[Scummvm-git-logs] scummvm master -> 348f5a00144bd8d2a5de937cadf63eb89baf60e1

neuromancer noreply at scummvm.org
Tue Aug 5 08:19:05 UTC 2025


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

Summary:
348f5a0014 HYPNO: avoid annoying enemy sprite flickering


Commit: 348f5a00144bd8d2a5de937cadf63eb89baf60e1
    https://github.com/scummvm/scummvm/commit/348f5a00144bd8d2a5de937cadf63eb89baf60e1
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2025-08-05T10:20:40+02:00

Commit Message:
HYPNO: avoid annoying enemy sprite flickering

Changed paths:
    engines/hypno/arcade.cpp


diff --git a/engines/hypno/arcade.cpp b/engines/hypno/arcade.cpp
index afaa643f689..5fdc38cacec 100644
--- a/engines/hypno/arcade.cpp
+++ b/engines/hypno/arcade.cpp
@@ -520,7 +520,7 @@ void HypnoEngine::runArcade(ArcadeShooting *arc) {
 				} else if (frame > 0 && frame >= (int)(it->lastFrame)) {
 					skipVideo(*it->video);
 					shootsToRemove.push_back(i);
-				} else if (it->video->decoder->needsUpdate() && needsUpdate) {
+				} else if (it->video->decoder->needsUpdate() || needsUpdate) {
 					updateScreen(*it->video);
 				}
 			} else if (!it->video && it->bodyFrames.size() > 0) {
@@ -747,7 +747,7 @@ bool HypnoEngine::shoot(const Common::Point &mousePos, ArcadeShooting *arc, bool
 			setRButtonUp(false);
 			return false;
 		}
-		
+
 		return clickedSecondaryShoot(mousePos);
 	} else {
 		drawShoot(mousePos);




More information about the Scummvm-git-logs mailing list