[Scummvm-git-logs] scummvm master -> f1196d909ac5d8a429a79fbcb8e19707f146a82a
sev-
sev at scummvm.org
Sat May 15 22:54:38 UTC 2021
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:
f1196d909a SLUDGE: Fix crash at save
Commit: f1196d909ac5d8a429a79fbcb8e19707f146a82a
https://github.com/scummvm/scummvm/commit/f1196d909ac5d8a429a79fbcb8e19707f146a82a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-05-16T00:53:39+02:00
Commit Message:
SLUDGE: Fix crash at save
Changed paths:
engines/sludge/backdrop.cpp
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp
index 698bfcb680..ee045193af 100644
--- a/engines/sludge/backdrop.cpp
+++ b/engines/sludge/backdrop.cpp
@@ -125,6 +125,9 @@ void GraphicsManager::drawParallax() {
}
void GraphicsManager::saveParallax(Common::WriteStream *stream) {
+ if (!_parallaxLayers)
+ return;
+
ParallaxLayers::iterator it;
for (it = _parallaxLayers->begin(); it != _parallaxLayers->end(); ++it) {
stream->writeByte(1);
More information about the Scummvm-git-logs
mailing list