From 75ffdf06cda92c2a52e508b84bb22be39db4691c Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 4 Feb 2023 20:38:15 +0000 Subject: [PATCH] reademblemdata: Change defaults for part-provided Medal definitions --- src/deh_soc.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/deh_soc.c b/src/deh_soc.c index 853c7f182..4a5a6a5fd 100644 --- a/src/deh_soc.c +++ b/src/deh_soc.c @@ -2185,19 +2185,13 @@ void reademblemdata(MYFILE *f, INT32 num) } while (!myfeof(f)); // Default sprite and color definitions for lazy people like me - if (!emblemlocations[num-1].sprite) switch (emblemlocations[num-1].type) + if (!emblemlocations[num-1].sprite) { - case ET_TIME: - emblemlocations[num-1].sprite = 'B'; break; - default: - emblemlocations[num-1].sprite = 'A'; break; + emblemlocations[num-1].sprite = 'A'; } - if (!emblemlocations[num-1].color) switch (emblemlocations[num-1].type) + if (!emblemlocations[num-1].color) { - case ET_TIME: //case ET_NTIME: - emblemlocations[num-1].color = SKINCOLOR_GREY; break; - default: - emblemlocations[num-1].color = SKINCOLOR_GOLD; break; + emblemlocations[num-1].color = SKINCOLOR_GOLD; } Z_Free(s);