ZVISION: Fix uninitialized scalar field (CID 1257072)

This commit is contained in:
Marisa-Chan 2014-12-19 16:39:21 +06:00
parent 8278ed6022
commit 704a4b3400

View file

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