mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Limit random fish color to SRB2's defaults
This commit is contained in:
parent
f15bb2dfba
commit
e75213b14d
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…
Reference in a new issue