mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Oops C90
This commit is contained in:
parent
efba75ae01
commit
e472dd5750
1 changed files with 2 additions and 1 deletions
|
|
@ -311,11 +311,12 @@ const UINT8 correctiontable[256] =
|
||||||
// keep a copy of the palette so that we can get the RGB value for a color index at any time.
|
// keep a copy of the palette so that we can get the RGB value for a color index at any time.
|
||||||
static void LoadPalette(const char *lumpname)
|
static void LoadPalette(const char *lumpname)
|
||||||
{
|
{
|
||||||
Cubeapply = InitCube();
|
|
||||||
lumpnum_t lumpnum = W_GetNumForName(lumpname);
|
lumpnum_t lumpnum = W_GetNumForName(lumpname);
|
||||||
size_t i, palsize = W_LumpLength(lumpnum)/3;
|
size_t i, palsize = W_LumpLength(lumpnum)/3;
|
||||||
UINT8 *pal;
|
UINT8 *pal;
|
||||||
|
|
||||||
|
Cubeapply = InitCube();
|
||||||
|
|
||||||
Z_Free(pLocalPalette);
|
Z_Free(pLocalPalette);
|
||||||
Z_Free(pMasterPalette);
|
Z_Free(pMasterPalette);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue