(MCG): apply key to version 100 as well.

This commit is contained in:
morkt 2020-03-30 17:28:18 +04:00
parent 303bac1e7e
commit ad22d60b4d

View File

@ -105,8 +105,8 @@ namespace GameRes.Formats.FC01
public override ImageData Read (IBinaryStream stream, ImageMetaData info) public override ImageData Read (IBinaryStream stream, ImageMetaData info)
{ {
var meta = (McgMetaData)info; var meta = (McgMetaData)info;
byte key = Properties.Settings.Default.MCGLastKey; byte key = 0;
if (101 == meta.Version) if (101 == meta.Version || 100 == meta.Version)
{ {
if (null == LastKey) if (null == LastKey)
{ {