mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'emerald-disambig' into 'master'
Make default Emerald pickup in extra Sealed Star a fake SA2 yellow-gold Chaos Emerald See merge request KartKrew/Kart!2268
This commit is contained in:
commit
3154d8ccf9
2 changed files with 10 additions and 3 deletions
|
|
@ -640,12 +640,15 @@ void podiumData_s::Draw(void)
|
|||
|
||||
if (emeraldNum == 0)
|
||||
{
|
||||
emeraldPatch = static_cast<patch_t*>( W_CachePatchName("K_BLNA", PU_CACHE) );
|
||||
// Prize -- todo, currently using fake Emerald
|
||||
emeraldColor = SKINCOLOR_GOLD;
|
||||
}
|
||||
else
|
||||
{
|
||||
emeraldColor = static_cast<skincolornum_t>( SKINCOLOR_CHAOSEMERALD1 + ((emeraldNum - 1) % 7) );
|
||||
}
|
||||
|
||||
{
|
||||
std::string emeraldName;
|
||||
if (emeraldNum > 7)
|
||||
{
|
||||
|
|
@ -853,12 +856,15 @@ void podiumData_s::Draw(void)
|
|||
|
||||
if (emeraldNum == 0)
|
||||
{
|
||||
emeraldOverlay = static_cast<patch_t*>( W_CachePatchName("KBLNC0", PU_CACHE) );
|
||||
// Prize -- todo, currently using fake Emerald
|
||||
emeraldColor = SKINCOLOR_GOLD;
|
||||
}
|
||||
else
|
||||
{
|
||||
emeraldColor = static_cast<skincolornum_t>( SKINCOLOR_CHAOSEMERALD1 + ((emeraldNum - 1) % 7) );
|
||||
}
|
||||
|
||||
{
|
||||
if (emeraldNum > 7)
|
||||
{
|
||||
emeraldOverlay = static_cast<patch_t*>( W_CachePatchName("SEMRA0", PU_CACHE) );
|
||||
|
|
|
|||
|
|
@ -1244,9 +1244,10 @@ static mobj_t *InitSpecialUFO(waypoint_t *start)
|
|||
}
|
||||
else
|
||||
{
|
||||
// Prize -- todo, currently using standard Emerald
|
||||
// Prize -- todo, currently using fake Emerald
|
||||
P_SetMobjState(emerald, S_CHAOSEMERALD1);
|
||||
P_SetMobjState(overlay, S_CHAOSEMERALD_UNDER);
|
||||
emerald->color = SKINCOLOR_GOLD;
|
||||
}
|
||||
|
||||
P_SetTarget(&emerald->target, ufo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue