mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
add and use path_extension_is()
This commit is contained in:
@@ -91,7 +91,7 @@ bool string_equal_start( const char* string, StringRange start ){
|
||||
typedef std::set<CopiedString> TextureGroups;
|
||||
|
||||
void TextureGroups_addWad( TextureGroups& groups, const char* archive ){
|
||||
if ( extension_equal( path_get_extension( archive ), "wad" ) ) {
|
||||
if ( path_extension_is( archive, "wad" ) ) {
|
||||
#if 1
|
||||
groups.insert( archive );
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user