[Scummvm-git-logs] scummvm master -> 340d7e94d88f7dfa6cd5a07bd091f5a8233d2635

dreammaster noreply at scummvm.org
Sun Feb 11 02:28:16 UTC 2024


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:
340d7e94d8 M4: Fix incorrect Stolie animation in test 5


Commit: 340d7e94d88f7dfa6cd5a07bd091f5a8233d2635
    https://github.com/scummvm/scummvm/commit/340d7e94d88f7dfa6cd5a07bd091f5a8233d2635
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-02-10T18:28:08-08:00

Commit Message:
M4: Fix incorrect Stolie animation in test 5

Changed paths:
    engines/m4/graphics/gr_series.cpp


diff --git a/engines/m4/graphics/gr_series.cpp b/engines/m4/graphics/gr_series.cpp
index dad857e8243..23b7a655753 100644
--- a/engines/m4/graphics/gr_series.cpp
+++ b/engines/m4/graphics/gr_series.cpp
@@ -35,7 +35,9 @@ void Series::play(const char *seriesName, frac16 layer, uint32 flags,
 		int32 x, int32 y, int32 firstFrame, int32 lastFrame) {
 	_series = M4::series_play(seriesName, layer, flags, triggerNum, frameRate,
 		loopCount, s, x, y, firstFrame, lastFrame);
-	_seriesS = M4::series_play(seriesName, layer + 1, flags, -1, frameRate,
+
+	Common::String shadow = Common::String::format("%ss", seriesName);
+	_seriesS = M4::series_play(shadow.c_str(), layer + 1, flags, -1, frameRate,
 		loopCount, s, x, y, firstFrame, lastFrame);
 }
 
@@ -43,7 +45,9 @@ void Series::show(const char *seriesName, frac16 layer, uint32 flags,
 		int16 triggerNum, int32 duration, int32 index, int32 s, int32 x, int32 y) {
 	_series = M4::series_show(seriesName, layer, flags, triggerNum, duration,
 		index, s, x, y);
-	_seriesS = M4::series_show(seriesName, layer + 1, flags, -1, duration,
+
+	Common::String shadow = Common::String::format("%ss", seriesName);
+	_seriesS = M4::series_show(shadow.c_str(), layer + 1, flags, -1, duration,
 		index, s, x, y);
 }
 




More information about the Scummvm-git-logs mailing list