[Scummvm-git-logs] scummvm master -> 83ddc387dd4691278aeafdee14f6d80a4fc27517

dreammaster noreply at scummvm.org
Sun Aug 9 10:31:34 UTC 2026


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:
83ddc387dd MADS: NEBULAR: Fix rendering sprites during background scroll


Commit: 83ddc387dd4691278aeafdee14f6d80a4fc27517
    https://github.com/scummvm/scummvm/commit/83ddc387dd4691278aeafdee14f6d80a4fc27517
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-08-09T20:30:42+10:00

Commit Message:
MADS: NEBULAR: Fix rendering sprites during background scroll

This fixes the tiny people on the space station when the
background scrolls to show Rex's ship arriving

Changed paths:
    engines/mads/animview/anim_timer.cpp


diff --git a/engines/mads/animview/anim_timer.cpp b/engines/mads/animview/anim_timer.cpp
index d34b4c3a49d..f5f21bf0cb1 100644
--- a/engines/mads/animview/anim_timer.cpp
+++ b/engines/mads/animview/anim_timer.cpp
@@ -203,7 +203,7 @@ block2:
 
 	imageCount = image_marker;
 	for (; imageFrame < current_anim->num_images; ++imageFrame) {
-		Image *img = &current_anim->image[imageFrame];
+		const Image *img = &current_anim->image[imageFrame];
 
 		if (img->flags > currentFrame)
 			break;
@@ -214,7 +214,8 @@ block2:
 		for (count = 0; !found && count < imageCount; ++count) {
 			Image *img2 = &image_list[count];
 
-			found = img->series_id == img2->series_id &&
+			found = img->segment_id == img2->segment_id &&
+				img->series_id == img2->series_id &&
 				img->sprite_id == img2->sprite_id &&
 				img->x == img2->x &&
 				img->y == img2->y &&




More information about the Scummvm-git-logs mailing list