From b95d8a91aafc371220229280ba04d0afcec66022 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 22 Apr 2013 16:21:46 -0500 Subject: [PATCH] Fix referencing pk3 with only qagame QVM --- code/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/files.c b/code/qcommon/files.c index cce1eac5..de15a2ea 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -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;