Make laser transparent before it's active

This commit is contained in:
Sally Coolatta 2020-10-22 17:51:18 -04:00
parent 9ad88cdfa9
commit 344acfece2

View file

@ -339,6 +339,9 @@ static void K_SpawnOvertimeLaser(fixed_t x, fixed_t y, fixed_t scale)
//P_SetScale(mo, scale); //P_SetScale(mo, scale);
zpos += 346 * mo->scale * flip; zpos += 346 * mo->scale * flip;
if (battleovertime.enabled < 10*TICRATE)
mo->drawflags |= MFD_TRANS50;
break; break;
case 2: case 2:
P_SetMobjState(mo, S_OVERTIME_BULB2); P_SetMobjState(mo, S_OVERTIME_BULB2);