Support custom model format in multiplayer select

This commit is contained in:
Denis Pauk 2023-11-02 00:03:34 +02:00
parent 67adb452dc
commit 571c0b96c2

View file

@ -5571,7 +5571,10 @@ PlayerModelList(void)
// contains triangle .md2 model
s = s_directory.data[i];
if (ContainsFile(s, "tris.md2") == false)
if (ContainsFile(s, "tris.fm") == false &&
ContainsFile(s, "tris.dkm") == false &&
ContainsFile(s, "tris.md2") == false &&
ContainsFile(s, "tris.mdl") == false)
{
continue; // invalid player model
}