[Scummvm-git-logs] scummvm master -> 42cfb06e75c42424151458ba455bddb35464cfd3
dreammaster
noreply at scummvm.org
Sun Aug 2 22:09:11 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:
42cfb06e75 MADS: NEBULAR: Fix background scrolling during intro
Commit: 42cfb06e75c42424151458ba455bddb35464cfd3
https://github.com/scummvm/scummvm/commit/42cfb06e75c42424151458ba455bddb35464cfd3
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-08-03T08:09:04+10:00
Commit Message:
MADS: NEBULAR: Fix background scrolling during intro
Changed paths:
engines/mads/animview/functions.cpp
diff --git a/engines/mads/animview/functions.cpp b/engines/mads/animview/functions.cpp
index e4f5fe50190..72ede50136f 100644
--- a/engines/mads/animview/functions.cpp
+++ b/engines/mads/animview/functions.cpp
@@ -194,15 +194,16 @@ void read_resource(Common::SeekableReadStream *src) {
void anim_peel() {
int peelX = current_anim->misc_peel_x;
if (peelX) {
- buffer_peel_horiz(&scr_work, peelX);
- matte_refresh_work();
+ buffer_peel_horiz(&scr_orig, peelX);
}
int peelY = current_anim->misc_peel_y;
if (peelY) {
- buffer_peel_vert(&scr_work, peelY, scr_inter_orig.data, 320 * 200);
- matte_refresh_work();
+ buffer_peel_vert(&scr_orig, peelY, scr_inter_orig.data, 320 * 200);
}
+
+ if (peelX != 0 || peelY != 0)
+ matte_refresh_work();
}
void anim_setup_cycle(int fx) {
More information about the Scummvm-git-logs
mailing list