mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Ok, I'm really paying for my hubris. Corrected a faulty optimisation in my fix.
This commit is contained in:
parent
527195c214
commit
ec44b24f72
1 changed files with 5 additions and 1 deletions
|
@ -5175,9 +5175,13 @@ void A_SignPlayer(mobj_t *actor)
|
|||
if (!skincheck(skincount))
|
||||
skincount++;
|
||||
skinnum = P_RandomKey(skincount);
|
||||
for (skincount = skinnum; skincount < numskins; skincount++)
|
||||
for (skincount = 0; skincount < numskins; skincount++)
|
||||
{
|
||||
if (skincheck(skincount))
|
||||
skinnum++;
|
||||
if (skincount > skinnum)
|
||||
break;
|
||||
}
|
||||
}
|
||||
else // otherwise, advance 1 skin
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue