From 8f2c6b0bac766f39251070c7863a4a21455e61ee Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 24 Oct 2022 11:08:10 +0200 Subject: [PATCH] PETKA: Init class variables. CID 1429743 --- engines/petka/q_system.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/petka/q_system.cpp b/engines/petka/q_system.cpp index d1b7a4cf034..fdc023a2885 100644 --- a/engines/petka/q_system.cpp +++ b/engines/petka/q_system.cpp @@ -46,7 +46,8 @@ namespace Petka { QSystem::QSystem(PetkaEngine &vm) : _vm(vm), _mainInterface(nullptr), _currInterface(nullptr), _prevInterface(nullptr), - _totalInit(false), _sceneWidth(640), _room(nullptr), _xOffset(0), _reqOffset(0) {} + _totalInit(false), _sceneWidth(640), _room(nullptr), _xOffset(0), _reqOffset(0), + _fxId(0), _musicId(0) {} QSystem::~QSystem() { for (uint i = 0; i < _allObjects.size(); ++i) {