[Scummvm-git-logs] scummvm master -> 7bd41c90d20d2d1fe3027f32407a0cc129166784
dreammaster
noreply at scummvm.org
Fri Jul 24 11:28:08 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:
7bd41c90d2 MADS: NEBULAR: Don't call tile_pan in Rex animview
Commit: 7bd41c90d20d2d1fe3027f32407a0cc129166784
https://github.com/scummvm/scummvm/commit/7bd41c90d20d2d1fe3027f32407a0cc129166784
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-07-24T21:28:01+10:00
Commit Message:
MADS: NEBULAR: Don't call tile_pan in Rex animview
Changed paths:
engines/mads/animview/anim_timer.cpp
engines/mads/animview/animview.cpp
diff --git a/engines/mads/animview/anim_timer.cpp b/engines/mads/animview/anim_timer.cpp
index d78f8d7d6cf..867693a9e13 100644
--- a/engines/mads/animview/anim_timer.cpp
+++ b/engines/mads/animview/anim_timer.cpp
@@ -163,7 +163,7 @@ block2:
frameViewY = current_anim->frame[currentFrame].view_y;
if (frameViewX != currentViewX || frameViewY != currentViewY) {
- if (!picture_map.one_to_one) {
+ if (g_engine->getGameID() != GType_RexNebular && !picture_map.one_to_one) {
tile_pan(&picture_map, frameViewX, frameViewY);
tile_pan(&depth_map, frameViewX, frameViewY);
}
diff --git a/engines/mads/animview/animview.cpp b/engines/mads/animview/animview.cpp
index e83f5c5ef10..4263d0973ad 100644
--- a/engines/mads/animview/animview.cpp
+++ b/engines/mads/animview/animview.cpp
@@ -487,8 +487,10 @@ static void animate() {
if (!current_anim)
error("Could not load anim for - %s", buf);
- tile_pan(&picture_map, current_anim->frame->view_x, current_anim->frame->view_y);
- tile_pan(&depth_map, current_anim->frame->view_x, current_anim->frame->view_y);
+ if (g_engine->getGameID() != GType_RexNebular) {
+ tile_pan(&picture_map, current_anim->frame->view_x, current_anim->frame->view_y);
+ tile_pan(&depth_map, current_anim->frame->view_x, current_anim->frame->view_y);
+ }
if (current_anim->misc_any_packed) {
packIndex = current_anim->misc_packed_series;
More information about the Scummvm-git-logs
mailing list