AGS: fixed few more warnings

From upstream 9de3edd60f1eb3244f6bd3f25d688b75b82a4776
This commit is contained in:
Paul Gilbert 2022-04-27 20:56:17 -07:00
parent d6cf666e42
commit 72f8cbd0dc

View File

@ -71,7 +71,7 @@ void ScriptOverlay::Unserialize(int index, Stream *in, size_t data_sz) {
overlayId = in->ReadInt32();
in->ReadInt32(); // unused (was text window x padding)
in->ReadInt32(); // unused (was text window y padding)
hasInternalRef = in->ReadInt32();
hasInternalRef = in->ReadInt32() != 0;
ccRegisterUnserializedObject(index, this, this);
}