mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-random-item-retransform' into 'master'
Don't retransform random items (resolves #726) Closes #726 See merge request KartKrew/Kart!1569
This commit is contained in:
commit
2cc14bf8f8
1 changed files with 5 additions and 0 deletions
|
|
@ -125,6 +125,11 @@ void Obj_RandomItemVisuals(mobj_t *mobj)
|
|||
{
|
||||
mobj->extravalue1++;
|
||||
|
||||
// Don't transform stuff that isn't a Ring Box, idiot
|
||||
statenum_t boxstate = mobj->state - states;
|
||||
if (boxstate >= S_RANDOMITEM1 && boxstate <= S_RANDOMITEM12)
|
||||
return;
|
||||
|
||||
if (mobj->extravalue1 == RINGBOX_TIME || specialstageinfo.valid)
|
||||
{
|
||||
// Sync the position in RINGBOX and RANDOMITEM animations.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue