Browse Source

Revert change

Kim Kulling 3 years ago
parent
commit
037732c429
1 changed files with 3 additions and 0 deletions
  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;
 }