Browse Source

Update Q3BSPFileImporter.cpp

Kim Kulling 3 years ago
parent
commit
b4dee9220d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      code/AssetLib/Q3BSP/Q3BSPFileImporter.cpp

+ 2 - 2
code/AssetLib/Q3BSP/Q3BSPFileImporter.cpp

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