mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-21 00:41:24 +00:00
Merge branch 'EOL-30' into EOL
# Conflicts: # src/p_enemy.c
This commit is contained in:
commit
5557609978
1 changed files with 2 additions and 1 deletions
|
@ -10797,7 +10797,8 @@ void P_InternalFlickySetColor(mobj_t *actor, UINT8 extrainfo)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (extrainfo == 0)
|
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))
|
else if (extrainfo-1 < sizeof(flickycolors))
|
||||||
actor->color = flickycolors[extrainfo-1];
|
actor->color = flickycolors[extrainfo-1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue