mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
Limit random fish color to SRB2's defaults
This commit is contained in:
parent
2b93a38f8e
commit
fd037fe763
1 changed files with 2 additions and 1 deletions
|
|
@ -10797,7 +10797,8 @@ void P_InternalFlickySetColor(mobj_t *actor, UINT8 extrainfo)
|
|||
};
|
||||
|
||||
if (extrainfo == 0)
|
||||
actor->color = flickycolors[P_RandomKey(sizeof(flickycolors))];
|
||||
// until we can customize flicky colors by level header, just stick to SRB2's defaults
|
||||
actor->color = flickycolors[P_RandomKey(2)]; //flickycolors[P_RandomKey(sizeof(flickycolors))];
|
||||
else if (extrainfo-1 < sizeof(flickycolors))
|
||||
actor->color = flickycolors[extrainfo-1];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue