Fix G_WriteStandings

This commit is contained in:
Sally Coolatta 2020-08-18 05:08:21 -04:00
parent 7419cbde03
commit ebec43b727
3 changed files with 3 additions and 3 deletions

View file

@ -2100,7 +2100,7 @@ void G_BeginMetal(void)
oldmetal.angle = mo->angle>>24;
}
void G_WriteStanding(UINT8 ranking, char *name, INT32 skinnum, UINT8 color, UINT32 val)
void G_WriteStanding(UINT8 ranking, char *name, INT32 skinnum, UINT16 color, UINT32 val)
{
char temp[16];

View file

@ -94,7 +94,7 @@ void G_BeginRecording(void);
void G_BeginMetal(void);
// Only called by shutdown code.
void G_WriteStanding(UINT8 ranking, char *name, INT32 skinnum, UINT8 color, UINT32 val);
void G_WriteStanding(UINT8 ranking, char *name, INT32 skinnum, UINT16 color, UINT32 val);
void G_SetDemoTime(UINT32 ptime, UINT32 plap);
UINT8 G_CmpDemoTime(char *oldname, char *newname);

View file

@ -57,7 +57,7 @@ typedef struct
UINT8 display;
} y_bonus_t;
typedef union
typedef struct
{
INT32 *character[MAXPLAYERS]; // Winner's character #
UINT16 *color[MAXPLAYERS]; // Winner's color #