From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Mon, 30 Aug 2004 09:12:13 +0000 (+0000)
Subject: fix crash when transparent meshes were used in first frame rendered
X-Git-Tag: xonotic-v0.1.0preview~5676
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=805f263eee6c6b3504849972f1581d33cde86a04;p=xonotic%2Fdarkplaces.git

fix crash when transparent meshes were used in first frame rendered


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

diff --git a/meshqueue.c b/meshqueue.c
index 6c9f1807..24744f31 100644
--- a/meshqueue.c
+++ b/meshqueue.c
@@ -31,7 +31,7 @@ void R_MeshQueue_Init(void)
 
 	meshqueuemempool = Mem_AllocPool("R_MeshQueue", 0, NULL);
 	mq_total = 0;
-	mqt_total = 1000;
+	mqt_total = 0;
 	mq_array = NULL;
 	mqt_array = NULL;
 }