diff --git a/ArcFormats/Hexenhaus/ArcWAG.cs b/ArcFormats/Hexenhaus/ArcWAG.cs index d2fcea31..f1609e97 100644 --- a/ArcFormats/Hexenhaus/ArcWAG.cs +++ b/ArcFormats/Hexenhaus/ArcWAG.cs @@ -161,6 +161,8 @@ namespace GameRes.Formats.Hexenhaus ImageMetaData info; using (var png = new StreamRegion (stream, 0x10, true)) info = base.ReadMetaData (png); + if (null == info) + return null; stream.Seek (-14, SeekOrigin.End); var cntr = new byte[12]; stream.Read (cntr, 0, 12);