diff --git a/src/g_demo.c b/src/g_demo.c index 5258b09f8..d8719802f 100644 --- a/src/g_demo.c +++ b/src/g_demo.c @@ -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]; diff --git a/src/g_demo.h b/src/g_demo.h index 7e2f46a5d..b4039434e 100644 --- a/src/g_demo.h +++ b/src/g_demo.h @@ -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); diff --git a/src/y_inter.c b/src/y_inter.c index d3ee61f4c..5f5bb5f05 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -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 #