[Scummvm-git-logs] scummvm master -> 1d43a8ff38c5b93286221388da0d5d936a99516a

whiterandrek whiterandrek at gmail.com
Wed May 20 19:12:26 UTC 2020


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:
1d43a8ff38 PETKA: added fields initialization in QObjectBG


Commit: 1d43a8ff38c5b93286221388da0d5d936a99516a
    https://github.com/scummvm/scummvm/commit/1d43a8ff38c5b93286221388da0d5d936a99516a
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2020-05-20T22:11:34+03:00

Commit Message:
PETKA: added fields initialization in QObjectBG

Changed paths:
    engines/petka/objects/object_bg.cpp


diff --git a/engines/petka/objects/object_bg.cpp b/engines/petka/objects/object_bg.cpp
index 739a7cc078..66cca0e5d5 100644
--- a/engines/petka/objects/object_bg.cpp
+++ b/engines/petka/objects/object_bg.cpp
@@ -41,7 +41,14 @@
 namespace Petka {
 
 QObjectBG::QObjectBG() {
+	_x = 0;
+	_y = 0;
 	_z = 0;
+
+	_showMap = 1;
+
+	_fxId = 0;
+	_musicId = 0;
 }
 
 void QObjectBG::processMessage(const QMessage &msg) {




More information about the Scummvm-git-logs mailing list