From 48330c38c9df9e8eee61ff07d03bc860f97962df Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 7 Feb 2014 15:39:37 +0000 Subject: [PATCH] try to fix a crash that gb had. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4602 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_model.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/engine/gl/gl_model.h b/engine/gl/gl_model.h index b92cbaac2..692f6934d 100644 --- a/engine/gl/gl_model.h +++ b/engine/gl/gl_model.h @@ -452,14 +452,12 @@ typedef struct mleaf_s #ifdef Q2BSPS //it's a q2 thing int area; - unsigned short firstleafbrush; - unsigned short numleafbrushes; - - unsigned short firstleafface; //q3 addititions - unsigned short numleaffaces; - - unsigned short numleafpatches; - unsigned short firstleafpatch; + unsigned int firstleafbrush; + unsigned int numleafbrushes; + unsigned int firstleafface; + unsigned int numleaffaces; + unsigned int firstleafpatch; + unsigned int numleafpatches; #endif } mleaf_t;