ZVISION: Fix uninitialized scalar field (CID 1257086)

This commit is contained in:
Marisa-Chan 2014-12-19 17:04:26 +06:00
parent 7a0b5982b1
commit 7609b6d866

View file

@ -232,6 +232,8 @@ bool ActionDelayRender::execute() {
ActionDisableControl::ActionDisableControl(ZVision *engine, int32 slotkey, const Common::String &line) :
ResultAction(engine, slotkey) {
_key = 0;
sscanf(line.c_str(), "%u", &_key);
}