mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
Merge branch 'sonicitems' into encore
This commit is contained in:
commit
c1fd658e4b
1 changed files with 4 additions and 2 deletions
|
@ -9787,9 +9787,11 @@ void P_RespawnSpecials(void)
|
||||||
// Transfer flags2 (strongbox, objectflip)
|
// Transfer flags2 (strongbox, objectflip)
|
||||||
newmobj->flags2 = box->flags2;
|
newmobj->flags2 = box->flags2;
|
||||||
P_RemoveMobj(box); // make sure they disappear
|
P_RemoveMobj(box); // make sure they disappear
|
||||||
continue;
|
numgotboxes--; // you've restored a box, remove it from the count
|
||||||
|
//continue; -- irrelevant?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (numgotboxes < 0)
|
||||||
numgotboxes = 0;
|
numgotboxes = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue