diff --git a/core/smn_maplists.cpp b/core/smn_maplists.cpp index f44eb732..39f7a51d 100644 --- a/core/smn_maplists.cpp +++ b/core/smn_maplists.cpp @@ -387,7 +387,7 @@ public: continue; } strncopy(buffer, pDir->GetEntryName(), sizeof(buffer)); - if ((ptr = strstr(buffer, ".bsp")) == NULL) + if ((ptr = strstr(buffer, ".bsp")) == NULL || ptr[4] != '\0') { pDir->NextEntry(); continue;