Fix build warning

This commit is contained in:
Lactozilla 2024-01-16 22:57:30 -03:00
parent c4ca8621c6
commit fea160c89f

View file

@ -1168,8 +1168,7 @@ void readgametype(MYFILE *f, INT32 num)
UINT8 newgtleftcolor, newgtrightcolor;
boolean has_desc_colors[2] = { false, false };
memset(gtconst, 0, sizeof(gtconst));
memset(gtdescription, 0, sizeof(gtconst));
gtconst[0] = '\0';
strcpy(gtdescription, "???");