Fix referencing pk3 with only qagame QVM

This commit is contained in:
Zack Middleton 2013-04-22 16:21:46 -05:00
parent a7317ac0d5
commit b95d8a91aa

View file

@ -1226,7 +1226,7 @@ long FS_FOpenFileReadDir(const char *filename, searchpath_t *search, fileHandle_
!FS_IsExt(filename, ".bot", len) &&
!FS_IsExt(filename, ".arena", len) &&
!FS_IsExt(filename, ".menu", len) &&
Q_stricmp(filename, "qagame.qvm") != 0 &&
Q_stricmp(filename, "vm/qagame.qvm") != 0 &&
!strstr(filename, "levelshots"))
{
pak->referenced |= FS_GENERAL_REF;