diff --git a/plugins/assmodel/model.cpp b/plugins/assmodel/model.cpp index 31d6407b..602c5be4 100644 --- a/plugins/assmodel/model.cpp +++ b/plugins/assmodel/model.cpp @@ -238,9 +238,9 @@ private: aiReturn_SUCCESS == material->Get( AI_MATKEY_TEXTURE_DIFFUSE(0), texname ) && texname.length != 0 && !string_equal_prefix_nocase( matname.C_Str(), "textures/" ) /* matname looks intentionally named as ingame shader */ - && !string_equal_prefix_nocase( matname.C_Str(), "textures\"" ) + && !string_equal_prefix_nocase( matname.C_Str(), "textures\\" ) && !string_equal_prefix_nocase( matname.C_Str(), "models/" ) - && !string_equal_prefix_nocase( matname.C_Str(), "models\"" ) ){ + && !string_equal_prefix_nocase( matname.C_Str(), "models\\" ) ){ #ifdef _DEBUG globalOutputStream() << "texname: " << texname.C_Str() << "\n"; #endif diff --git a/tools/quake3/q3map2/model.cpp b/tools/quake3/q3map2/model.cpp index ac88eaf2..56e7a8af 100644 --- a/tools/quake3/q3map2/model.cpp +++ b/tools/quake3/q3map2/model.cpp @@ -206,9 +206,9 @@ struct AssModel aiReturn_SUCCESS == material->Get( AI_MATKEY_TEXTURE_DIFFUSE(0), texname ) && texname.length != 0 && !string_equal_prefix_nocase( matname.C_Str(), "textures/" ) /* matname looks intentionally named as ingame shader */ - && !string_equal_prefix_nocase( matname.C_Str(), "textures\"" ) + && !string_equal_prefix_nocase( matname.C_Str(), "textures\\" ) && !string_equal_prefix_nocase( matname.C_Str(), "models/" ) - && !string_equal_prefix_nocase( matname.C_Str(), "models\"" ) ){ + && !string_equal_prefix_nocase( matname.C_Str(), "models\\" ) ){ #ifdef _DEBUG Sys_Printf( "texname: %s\n", texname.C_Str() ); #endif