mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
Support custom model format in multiplayer select
This commit is contained in:
parent
67adb452dc
commit
571c0b96c2
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue