From e47d52795a830dd0bee4f3c2dd83b4540128f0d8 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 5 May 2018 18:54:37 +0000 Subject: [PATCH] make precache_pic not use the fallback image (reported by terencehill) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12419 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index 7c7fa0ef..01787f46 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -3273,7 +3273,7 @@ string precache_pic(string pic) void VM_precache_pic(prvm_prog_t *prog) { const char *s; - int flags = 0; + int flags = CACHEPICFLAG_FAILONMISSING; VM_SAFEPARMCOUNTRANGE(1, 2, VM_precache_pic); -- 2.39.2