]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
make precache_pic not use the fallback image
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 May 2018 18:54:37 +0000 (18:54 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 May 2018 18:54:37 +0000 (18:54 +0000)
(reported by terencehill)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12419 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 7c7fa0ef54f48b99fd500fe85c2fa67953a052d5..01787f46e9df671cc5655d230d979cd4319fde14 100644 (file)
@@ -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);