mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-16 06:30:52 +00:00
MT_FIREDITEM crash fix
This commit is contained in:
parent
ecba6a0cb4
commit
576617ec71
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…
Reference in a new issue