Use its own graphic namespace

This commit is contained in:
toaster 2025-08-22 21:02:49 +01:00
parent 435b3b8f09
commit 025c6887f2
3 changed files with 4 additions and 2 deletions

View file

@ -506,6 +506,7 @@ char sprnames[NUMSPRITES + 1][5] =
"ITEM",
"ITMO",
"ITMI",
"IBON",
"ITMN",
"PWRB",
"RBOW", // power-up aura

View file

@ -1047,6 +1047,7 @@ typedef enum sprite
SPR_ITEM,
SPR_ITMO,
SPR_ITMI,
SPR_IBON,
SPR_ITMN,
SPR_PWRB,
SPR_RBOW, // power-up aura

View file

@ -16274,8 +16274,8 @@ void K_UpdateMobjItemOverlay(mobj_t *part, SINT8 itemType, UINT8 itemCount)
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE|4;
break;
case KCAPSULE_RING:
part->sprite = SPR_ICAP;
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE|6;
part->sprite = SPR_IBON;
part->frame = FF_FULLBRIGHT|FF_PAPERSPRITE;
break;
default:
if (itemType >= FIRSTPOWERUP)