ULTIMA8: Fix uninitialized members identified by Coverity

This commit is contained in:
Matthew Duggan 2021-05-10 14:54:16 +09:00
parent ebbfb88174
commit f7e07c0eb0
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ static Common::SeekableReadStream *_tryLoadCruSubtitle(const Std::string &filena
DEFINE_RUNTIME_CLASSTYPE_CODE(MovieGump)
MovieGump::MovieGump() : ModalGump(), _player(nullptr) {
MovieGump::MovieGump() : ModalGump(), _player(nullptr), _subtitleWidget(0) {
}

View File

@ -47,7 +47,7 @@ CruPathfinderProcess::CruPathfinderProcess() : Process(),
_nextTurn(false), _turnAtEnd(false), _lastDir(dir_current),
_nextDir(dir_current), _nextDir2(dir_current),
_solidObject(true), _directPathBlocked(false), _noShotAvailable(true),
_dir16Flag(false), _stopDistance(0)
_dir16Flag(false), _stopDistance(0), _maxSteps(0)
{
}