mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 14:32:34 +00:00
reademblemdata: Change defaults for part-provided Medal definitions
This commit is contained in:
parent
f1e925553d
commit
75ffdf06cd
1 changed files with 4 additions and 10 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue