[Scummvm-git-logs] scummvm master -> 2c7455c95300a0c4853ff86874a14228b372afc3
kelmer44
noreply at scummvm.org
Thu May 28 08:47:59 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:
2c7455c953 PELROCK: Make it more obvious for analyzers that array size is correct on ending animation. PVS-Studio V557
Commit: 2c7455c95300a0c4853ff86874a14228b372afc3
https://github.com/scummvm/scummvm/commit/2c7455c95300a0c4853ff86874a14228b372afc3
Author: kelmer (kelmer at gmail.com)
Date: 2026-05-28T10:47:48+02:00
Commit Message:
PELROCK: Make it more obvious for analyzers that array size is correct on ending animation. PVS-Studio V557
Changed paths:
engines/pelrock/pelrock.cpp
diff --git a/engines/pelrock/pelrock.cpp b/engines/pelrock/pelrock.cpp
index 96f85fec017..6299c1daf93 100644
--- a/engines/pelrock/pelrock.cpp
+++ b/engines/pelrock/pelrock.cpp
@@ -2118,6 +2118,7 @@ void PelrockEngine::endingScene() {
}
if (isIdleAnim) {
+ assert(sprite->numAnims == 2);
Anim idleAnim;
idleAnim.nframes = 1;
idleAnim.loopCount = 1;
More information about the Scummvm-git-logs
mailing list