mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
ZVISION: Fix uninitialized scalar field (CID 1257058)
This commit is contained in:
parent
f9946b726f
commit
cd2612a54e
@ -240,6 +240,9 @@ bool ActionDisableVenus::execute() {
|
||||
|
||||
ActionDisplayMessage::ActionDisplayMessage(ZVision *engine, int32 slotkey, const Common::String &line) :
|
||||
ResultAction(engine, slotkey) {
|
||||
_control = 0;
|
||||
_msgid = 0;
|
||||
|
||||
sscanf(line.c_str(), "%hd %hd", &_control, &_msgid);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user