ZVISION: Fix uninitialized scalar field (CID 1257085)
This commit is contained in:
parent
7e3c270e49
commit
7a0b5982b1
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue