Fixed custom kart gib SPR2s crashing the game upon usage

This commit is contained in:
Spring E. Thing 2025-09-13 09:38:43 +01:00 committed by Jack
parent ec70f62f36
commit 7eca830cb0

View file

@ -68,7 +68,7 @@ struct Particle : Mobj
skins[pskinn]->sprites[states[spr2state].frame].numframes > 0)
{
x->skin = (void*)(&skins[pskinn]);
x->skin = (void*)(skins[pskinn]);
x->state(spr2state);
//frame will be set by state()
}