Browse Source

Revert change

Kim Kulling 3 năm trước cách đây
mục cha
commit
037732c429
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      code/AssetLib/Q3BSP/Q3BSPFileImporter.cpp

+ 3 - 0
code/AssetLib/Q3BSP/Q3BSPFileImporter.cpp

@@ -158,6 +158,9 @@ Q3BSPFileImporter::~Q3BSPFileImporter() {
 // ------------------------------------------------------------------------------------------------
 //  Returns true if the loader can read this.
 bool Q3BSPFileImporter::CanRead(const std::string &/*rFile*/, IOSystem * /*pIOHandler*/, bool /*checkSig*/) const {
+    if (!checkSig) {
+        return SimpleExtensionCheck(rFile, "pk3", "bsp");
+    }
     return false;
 }