[Scummvm-git-logs] scummvm master -> 19f2652aad71f23149edda060f5508f24e54bc00

whiterandrek noreply at scummvm.org
Wed Feb 9 14:11:17 UTC 2022


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
595a81a287 PETKA: fix minor display issue in panel interface
19f2652aad PETKA: fix crash when there is no video file


Commit: 595a81a287d6887218c2df8f7521c93edcb5f56f
    https://github.com/scummvm/scummvm/commit/595a81a287d6887218c2df8f7521c93edcb5f56f
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2022-02-09T16:11:10+02:00

Commit Message:
PETKA: fix minor display issue in panel interface

Changed paths:
    engines/petka/interfaces/panel.cpp


diff --git a/engines/petka/interfaces/panel.cpp b/engines/petka/interfaces/panel.cpp
index 7bf74910cb0..36c16822a7f 100644
--- a/engines/petka/interfaces/panel.cpp
+++ b/engines/petka/interfaces/panel.cpp
@@ -114,7 +114,6 @@ void InterfacePanel::start(int id) {
 		obj->_y = _objectPoints[i].y;
 		obj->_frame = 1;
 		obj->_animate = false;
-		obj->_isShown = true;
 		_objs.push_back(obj);
 	}
 


Commit: 19f2652aad71f23149edda060f5508f24e54bc00
    https://github.com/scummvm/scummvm/commit/19f2652aad71f23149edda060f5508f24e54bc00
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2022-02-09T16:11:10+02:00

Commit Message:
PETKA: fix crash when there is no video file

Changed paths:
    engines/petka/petka.cpp


diff --git a/engines/petka/petka.cpp b/engines/petka/petka.cpp
index 64c47e67afa..7385d5c3e0c 100644
--- a/engines/petka/petka.cpp
+++ b/engines/petka/petka.cpp
@@ -175,6 +175,9 @@ Common::RandomSource &PetkaEngine::getRnd() {
 }
 
 void PetkaEngine::playVideo(Common::SeekableReadStream *stream) {
+	if (!stream)
+		return;
+
 	PauseToken token = pauseEngine();
 	Graphics::PixelFormat fmt = _system->getScreenFormat();
 




More information about the Scummvm-git-logs mailing list