mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
ZVISION: Fix uninitialized scalar field (CID 1257075)
This commit is contained in:
parent
897ecc190f
commit
7055ee7755
@ -298,6 +298,13 @@ bool ActionDissolve::execute() {
|
||||
|
||||
ActionDistort::ActionDistort(ZVision *engine, int32 slotkey, const Common::String &line) :
|
||||
ResultAction(engine, slotkey) {
|
||||
_distSlot = 0;
|
||||
_speed = 0;
|
||||
_startAngle = 60.0;
|
||||
_endAngle = 60.0;
|
||||
_startLineScale = 1.0;
|
||||
_endLineScale = 1.0;
|
||||
|
||||
sscanf(line.c_str(), "%hd %hd %f %f %f %f", &_distSlot, &_speed, &_startAngle, &_endAngle, &_startLineScale, &_endLineScale);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user