reademblemdata: Change defaults for part-provided Medal definitions

This commit is contained in:
toaster 2023-02-04 20:38:15 +00:00
parent f1e925553d
commit 75ffdf06cd

View file

@ -2185,19 +2185,13 @@ void reademblemdata(MYFILE *f, INT32 num)
} while (!myfeof(f)); } while (!myfeof(f));
// Default sprite and color definitions for lazy people like me // 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 = 'A';
emblemlocations[num-1].sprite = 'B'; break;
default:
emblemlocations[num-1].sprite = 'A'; break;
} }
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_GOLD;
emblemlocations[num-1].color = SKINCOLOR_GREY; break;
default:
emblemlocations[num-1].color = SKINCOLOR_GOLD; break;
} }
Z_Free(s); Z_Free(s);