ZVISION: Fix uninitialized scalar field (CID 1257059)

This commit is contained in:
Marisa-Chan 2014-12-19 15:45:54 +06:00
parent cd2612a54e
commit e28f8a5d8f

View File

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