Explorar el Código

Revert change

Kim Kulling hace 3 años
padre
commit
037732c429
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;
 }