Fixed amb1899 - Duplicate maps in auto generated maplists
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402438
This commit is contained in:
parent
eaccf6f90b
commit
2b0cc7b4ea
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user