]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
upgrade some memory formats to unsigned int from unsigned short for BSP2
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 7 Sep 2012 05:28:06 +0000 (05:28 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 7 Sep 2012 05:28:06 +0000 (05:28 +0000)
maps

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

model_brush.h

index 8020d14ab7990154ef71dc402feebdfc01c616fc..1621b491b8c15d5d2ccfbaeb903e3fc339a97d5a 100644 (file)
@@ -127,7 +127,7 @@ mplane_t;
 
 typedef struct medge_s
 {
-       unsigned short v[2];
+       unsigned int v[2];
 }
 medge_t;
 
@@ -151,8 +151,8 @@ typedef struct mnode_s
        struct mnode_s *children[2];
 
        // q1bsp specific
-       unsigned short firstsurface;
-       unsigned short numsurfaces;
+       unsigned int firstsurface;
+       unsigned int numsurfaces;
 }
 mnode_t;