mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
MT_FIREDITEM crash fix
This commit is contained in:
parent
48be0e5246
commit
a9342fe0fd
1 changed files with 2 additions and 1 deletions
|
|
@ -137,11 +137,12 @@ UINT32 nflatxshift, nflatyshift, nflatshiftup, nflatmask;
|
||||||
#define ALLWHITE_TT_CACHE_INDEX (MAXSKINS + 3)
|
#define ALLWHITE_TT_CACHE_INDEX (MAXSKINS + 3)
|
||||||
#define RAINBOW_TT_CACHE_INDEX (MAXSKINS + 4)
|
#define RAINBOW_TT_CACHE_INDEX (MAXSKINS + 4)
|
||||||
#define BLINK_TT_CACHE_INDEX (MAXSKINS + 5)
|
#define BLINK_TT_CACHE_INDEX (MAXSKINS + 5)
|
||||||
|
#define TT_CACHE_SIZE (MAXSKINS + 6)
|
||||||
#define SKIN_RAMP_LENGTH 16
|
#define SKIN_RAMP_LENGTH 16
|
||||||
#define DEFAULT_STARTTRANSCOLOR 160
|
#define DEFAULT_STARTTRANSCOLOR 160
|
||||||
#define NUM_PALETTE_ENTRIES 256
|
#define NUM_PALETTE_ENTRIES 256
|
||||||
|
|
||||||
static UINT8** translationtablecache[MAXSKINS + 5] = {NULL};
|
static UINT8** translationtablecache[TT_CACHE_SIZE] = {NULL};
|
||||||
|
|
||||||
|
|
||||||
// See also the enum skincolors_t
|
// See also the enum skincolors_t
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue