Remove facefreed/iconfreed

Caused an issue where having more than 16 characters loaded would crash the game when compiled with MSVC.
This commit is contained in:
wolfy852 2019-01-05 20:40:47 -06:00
parent 9e09d8cb8c
commit aa3c058321
2 changed files with 0 additions and 15 deletions

View file

@ -131,11 +131,6 @@ static patch_t *hud_tv2;
// SRB2kart // SRB2kart
//
static boolean facefreed[MAXPLAYERS];
boolean iconfreed[MAXPLAYERS];
hudinfo_t hudinfo[NUMHUDITEMS] = hudinfo_t hudinfo[NUMHUDITEMS] =
{ {
{ 34, 176}, // HUD_LIVESNAME { 34, 176}, // HUD_LIVESNAME
@ -362,7 +357,6 @@ void ST_LoadFaceGraphics(char *rankstr, char *wantstr, char *mmapstr, INT32 skin
facerankprefix[skinnum] = W_CachePatchName(rankstr, PU_HUDGFX); facerankprefix[skinnum] = W_CachePatchName(rankstr, PU_HUDGFX);
facewantprefix[skinnum] = W_CachePatchName(wantstr, PU_HUDGFX); facewantprefix[skinnum] = W_CachePatchName(wantstr, PU_HUDGFX);
facemmapprefix[skinnum] = W_CachePatchName(mmapstr, PU_HUDGFX); facemmapprefix[skinnum] = W_CachePatchName(mmapstr, PU_HUDGFX);
facefreed[skinnum] = false;
} }
void ST_ReloadSkinFaceGraphics(void) void ST_ReloadSkinFaceGraphics(void)
@ -411,14 +405,6 @@ lumpnum_t st_borderpatchnum;
void ST_Init(void) void ST_Init(void)
{ {
INT32 i;
for (i = 0; i < MAXPLAYERS; i++)
{
facefreed[i] = true;
iconfreed[i] = true;
}
if (dedicated) if (dedicated)
return; return;

View file

@ -71,7 +71,6 @@ extern patch_t *facewantprefix[MAXSKINS]; // wanted
extern patch_t *facemmapprefix[MAXSKINS]; // minimap extern patch_t *facemmapprefix[MAXSKINS]; // minimap
extern patch_t *livesback; extern patch_t *livesback;
extern patch_t *ngradeletters[7]; extern patch_t *ngradeletters[7];
extern boolean iconfreed[MAXPLAYERS];
/** HUD location information (don't move this comment) /** HUD location information (don't move this comment)
*/ */