Update Q3BSPFileImporter.cpp

pull/4342/head
Kim Kulling 2022-01-18 22:25:22 +01:00 committed by GitHub
parent ffc13f18ba
commit b4dee9220d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }