[Scummvm-git-logs] scummvm master -> ee88f8d5514c6b3131794f431ef45c5970c505a0
dreammaster
noreply at scummvm.org
Sat Sep 6 22:15:49 UTC 2025
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:
ee88f8d551 BAGEL: MINIGAMES: Fix initialization of statics in Packrat
Commit: ee88f8d5514c6b3131794f431ef45c5970c505a0
https://github.com/scummvm/scummvm/commit/ee88f8d5514c6b3131794f431ef45c5970c505a0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-06T15:15:44-07:00
Commit Message:
BAGEL: MINIGAMES: Fix initialization of statics in Packrat
Changed paths:
engines/bagel/hodjnpodj/packrat/packrat.cpp
diff --git a/engines/bagel/hodjnpodj/packrat/packrat.cpp b/engines/bagel/hodjnpodj/packrat/packrat.cpp
index 73192142422..cbb5c9a7275 100644
--- a/engines/bagel/hodjnpodj/packrat/packrat.cpp
+++ b/engines/bagel/hodjnpodj/packrat/packrat.cpp
@@ -792,7 +792,7 @@ void CMainPackRatWindow::initStatics() {
pFlashRightSprite = nullptr;
pLiveSprite = nullptr;
- pLivesSprite[MAXLIVESPRITE];
+ Common::fill(pLivesSprite, pLivesSprite + MAXLIVESPRITE, nullptr);
pBalloonSprite = nullptr;
More information about the Scummvm-git-logs
mailing list