mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Remove global 'uint8_t *anim_pal' which was only used once as a temporary.
git-svn-id: https://svn.eduke32.com/eduke32@2516 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3e1a8c523d
commit
85ab7d2e39
2 changed files with 3 additions and 4 deletions
|
@ -369,9 +369,8 @@ void G_PlayAnim(const char *fn,char t)
|
|||
|
||||
ANIM_LoadAnim(animbuf);
|
||||
numframes = ANIM_NumFrames();
|
||||
anim_pal = ANIM_GetPalette();
|
||||
|
||||
basepaltable[ANIMPAL] = anim_pal;
|
||||
basepaltable[ANIMPAL] = ANIM_GetPalette();
|
||||
|
||||
//setpalette(0L,256L,tempbuf);
|
||||
//setbrightness(ud.brightness>>2,tempbuf,2);
|
||||
|
|
|
@ -104,9 +104,9 @@ static char g_rootDir[BMAX_PATH];
|
|||
char g_modDir[BMAX_PATH] = "/";
|
||||
|
||||
|
||||
uint8_t water_pal[768],slime_pal[768],title_pal[768],dre_alms[768],ending_pal[768],*anim_pal;
|
||||
uint8_t water_pal[768],slime_pal[768],title_pal[768],dre_alms[768],ending_pal[768];
|
||||
|
||||
uint8_t *basepaltable[BASEPALCOUNT] = { palette, water_pal, slime_pal, dre_alms, title_pal, ending_pal, NULL };
|
||||
uint8_t *basepaltable[BASEPALCOUNT] = { palette, water_pal, slime_pal, dre_alms, title_pal, ending_pal, NULL /*anim_pal*/ };
|
||||
|
||||
static int32_t g_skipDefaultCons = 0;
|
||||
static int32_t g_skipDefaultDefs = 0; // primarily for NAM/WWII GI appeasement
|
||||
|
|
Loading…
Reference in a new issue