diff --git a/src/r_things.h b/src/r_things.h index 69f0ec518..cd101f2ea 100644 --- a/src/r_things.h +++ b/src/r_things.h @@ -125,7 +125,11 @@ void R_DrawMasked(maskcount_t* masks, INT32 nummasks); // number of sprite lumps for spritewidth,offset,topoffset lookup tables // Fab: this is a hack : should allocate the lookup tables per sprite +#if __SIZEOF_POINTER__ < 8 #define MAXVISSPRITES 2048 // added 2-2-98 was 128 +#else +#define MAXVISSPRITES 4096 // only for 64bit +#endif #define VISSPRITECHUNKBITS 6 // 2^6 = 64 sprites per chunk #define VISSPRITESPERCHUNK (1 << VISSPRITECHUNKBITS)