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