mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Use its own graphic namespace
This commit is contained in:
parent
435b3b8f09
commit
025c6887f2
3 changed files with 4 additions and 2 deletions
|
|
@ -506,6 +506,7 @@ char sprnames[NUMSPRITES + 1][5] =
|
||||||
"ITEM",
|
"ITEM",
|
||||||
"ITMO",
|
"ITMO",
|
||||||
"ITMI",
|
"ITMI",
|
||||||
|
"IBON",
|
||||||
"ITMN",
|
"ITMN",
|
||||||
"PWRB",
|
"PWRB",
|
||||||
"RBOW", // power-up aura
|
"RBOW", // power-up aura
|
||||||
|
|
|
||||||
|
|
@ -1047,6 +1047,7 @@ typedef enum sprite
|
||||||
SPR_ITEM,
|
SPR_ITEM,
|
||||||
SPR_ITMO,
|
SPR_ITMO,
|
||||||
SPR_ITMI,
|
SPR_ITMI,
|
||||||
|
SPR_IBON,
|
||||||
SPR_ITMN,
|
SPR_ITMN,
|
||||||
SPR_PWRB,
|
SPR_PWRB,
|
||||||
SPR_RBOW, // power-up aura
|
SPR_RBOW, // power-up aura
|
||||||
|
|
|
||||||
|
|
@ -16274,8 +16274,8 @@ void K_UpdateMobjItemOverlay(mobj_t *part, SINT8 itemType, UINT8 itemCount)
|
||||||
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE|4;
|
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE|4;
|
||||||
break;
|
break;
|
||||||
case KCAPSULE_RING:
|
case KCAPSULE_RING:
|
||||||
part->sprite = SPR_ICAP;
|
part->sprite = SPR_IBON;
|
||||||
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE|6;
|
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (itemType >= FIRSTPOWERUP)
|
if (itemType >= FIRSTPOWERUP)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue