mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Feed skin and sprite2 through P_GetSkinSprite2 to change sprite2 if necessary (if for instance the supplied sprite2 didn't actually exist)
This commit is contained in:
parent
c9acc3cee4
commit
9703aa2864
1 changed files with 2 additions and 0 deletions
|
|
@ -468,6 +468,8 @@ static int libd_getSprite2Patch(lua_State *L)
|
|||
if (super)
|
||||
j |= FF_SPR2SUPER;
|
||||
|
||||
j = P_GetSkinSprite2(&skins[i], j, NULL); // feed skin and current sprite2 through to change sprite2 used if necessary
|
||||
|
||||
sprdef = &skins[i].sprites[j];
|
||||
|
||||
// set frame number
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue