diff --git a/polymer/eduke32/source/anim.c b/polymer/eduke32/source/anim.c index e8eb68472..1a4e3b506 100644 --- a/polymer/eduke32/source/anim.c +++ b/polymer/eduke32/source/anim.c @@ -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); diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 538d92eb5..c88dde574 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -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