DIRECTOR: Initialize class variable

This commit is contained in:
Eugene Sandulenko 2020-01-20 00:51:16 +01:00
parent d89c355fee
commit c6e5993b06

View File

@ -344,6 +344,7 @@ ButtonCast::ButtonCast(Common::ReadStreamEndian &stream, uint16 version) : TextC
ScriptCast::ScriptCast(Common::ReadStreamEndian &stream, uint16 version) {
_type = kCastLingoScript;
_scriptType = kNoneScript;
if (version < 4) {
error("Unhandled Script cast");