mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
ZVISION: Fix uninitialized scalar field (CID 1257085)
This commit is contained in:
parent
7e3c270e49
commit
7a0b5982b1
@ -832,6 +832,9 @@ bool ActionRestoreGame::execute() {
|
||||
|
||||
ActionRotateTo::ActionRotateTo(ZVision *engine, int32 slotkey, const Common::String &line) :
|
||||
ResultAction(engine, slotkey) {
|
||||
_time = 0;
|
||||
_toPos = 0;
|
||||
|
||||
sscanf(line.c_str(), "%d, %d", &_toPos, &_time);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user