From 2ba9791d902e659a47bbb39b20b9f7bbe105c2f9 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 27 Dec 2016 22:49:21 +0400 Subject: [PATCH] (IgsDataOpener): works on physical file system only. --- Experimental/CellWorks/ArcDB.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Experimental/CellWorks/ArcDB.cs b/Experimental/CellWorks/ArcDB.cs index 2befdabc..ca613368 100644 --- a/Experimental/CellWorks/ArcDB.cs +++ b/Experimental/CellWorks/ArcDB.cs @@ -47,7 +47,7 @@ namespace GameRes.Formats.CellWorks public override ArcFile TryOpen (ArcView file) { - if (!file.Name.EndsWith (".dat", StringComparison.InvariantCultureIgnoreCase)) + if (VFS.IsVirtual || !file.Name.EndsWith (".dat", StringComparison.InvariantCultureIgnoreCase)) return null; var db_files = VFS.GetFiles (VFS.CombinePath (VFS.GetDirectoryName (file.Name), "*.db")); if (!db_files.Any())