mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Semibright for dark part of flicker
This commit is contained in:
parent
daa9d59232
commit
49f6b4516a
1 changed files with 3 additions and 3 deletions
|
|
@ -1160,13 +1160,13 @@ void Obj_UFOPieceThink(mobj_t *piece)
|
|||
case UFO_PIECE_TYPE_GLASS:
|
||||
{
|
||||
// Flicker glass cracks for visibility
|
||||
if (piece->frame)
|
||||
if (piece->frame == FF_SEMIBRIGHT)
|
||||
{
|
||||
piece->frame = 0;
|
||||
piece->frame = ufo_piece_glass_flickerframe(piece);
|
||||
}
|
||||
else
|
||||
{
|
||||
piece->frame = ufo_piece_glass_flickerframe(piece);
|
||||
piece->frame = FF_SEMIBRIGHT;
|
||||
}
|
||||
|
||||
piece->destscale = 5 * ufo->destscale / 3;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue