mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
ZVISION: Fix uninitialized scalar field (CID 1257069)
This commit is contained in:
parent
dae76a76c7
commit
9c2782a680
@ -119,6 +119,12 @@ bool ActionAttenuate::execute() {
|
||||
|
||||
ActionChangeLocation::ActionChangeLocation(ZVision *engine, int32 slotkey, const Common::String &line) :
|
||||
ResultAction(engine, slotkey) {
|
||||
_world = 'g';
|
||||
_room = 'a';
|
||||
_node = 'r';
|
||||
_view = 'y';
|
||||
_offset = 0;
|
||||
|
||||
sscanf(line.c_str(), "%c, %c, %c%c, %u", &_world, &_room, &_node, &_view, &_offset);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user