(MBL): don't restrict scripts post-processing to '.s' extension.

This commit is contained in:
morkt 2016-09-04 04:48:51 +04:00
parent 983d49346e
commit e2a0d76b65

View File

@ -166,7 +166,7 @@ namespace GameRes.Formats.Marble
public override Stream OpenEntry (ArcFile arc, Entry entry)
{
if (entry.Type != "script" || !entry.Name.EndsWith (".s"))
if (entry.Type != "script")
return arc.File.CreateStream (entry.Offset, entry.Size);
var marc = arc as MblArchive;
var data = arc.File.View.ReadBytes (entry.Offset, entry.Size);