]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_cmds.c
no time to explain, more changes on the path to q3bsp support
[xonotic/darkplaces.git] / pr_cmds.c
index c0d6e440b56b301b47b3eb140fe586bfb22fffe9..0f801f8a4e6f6afd8ea26343ed5b957408b9f160 100644 (file)
--- a/pr_cmds.c
+++ b/pr_cmds.c
@@ -1297,7 +1297,7 @@ void PF_precache_model (void)
                Host_Error ("PF_Precache_*: Precache can only be done in spawn functions");
 
        s = G_STRING(OFS_PARM0);
-       if (sv.worldmodel->brushq1.ishlbsp && ((!s) || (!s[0])))
+       if (sv.worldmodel->brush.ishlbsp && ((!s) || (!s[0])))
                return;
        G_INT(OFS_RETURN) = G_INT(OFS_PARM0);
        PR_CheckEmptyString (s);