mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
TWP: Fix uninitialized scalar field _useFlag in TwpEngine.
Coverity CID 1540545
This commit is contained in:
parent
0982630cb6
commit
9eaeb40184
@ -60,7 +60,8 @@ TwpEngine *g_twp;
|
||||
TwpEngine::TwpEngine(OSystem *syst, const TwpGameDescription *gameDesc)
|
||||
: Engine(syst),
|
||||
_gameDescription(gameDesc),
|
||||
_randomSource("Twp") {
|
||||
_randomSource("Twp"),
|
||||
_useFlag(UseFlag::ufNone) {
|
||||
g_twp = this;
|
||||
_dialog.reset(new Dialog());
|
||||
_dialog->_tgt.reset(new EngineDialogTarget());
|
||||
|
Loading…
Reference in New Issue
Block a user