Commit 4d7b0b9c authored by Richard Gobeille's avatar Richard Gobeille Committed by Richard Gobeille
Browse files

Revert "Duke3d: ACTIVATOR/MASTERSWITCH parity for SE2, SE3, SE18, SE21, SE31, SE32, and SE36"

This reverts commit fbf4ab59.
parent b1de3ede
......@@ -2497,18 +2497,15 @@ DETONATE:
{
switch (sprite[j].lotag)
{
case SE_18_INCREMENTAL_SECTOR_RISE_FALL:
case SE_2_EARTHQUAKE:
case SE_21_DROP_FLOOR:
case SE_31_FLOOR_RISE_FALL:
case SE_32_CEILING_RISE_FALL:
case SE_36_PROJ_SHOOTER:
A_CallSound(sectNum, j);
fallthrough__;
case SE_2_EARTHQUAKE:
actor[j].t_data[0] = 1 - actor[j].t_data[0];
actor[j].t_data[0] = 1;
break;
case SE_3_RANDOM_LIGHTS_AFTER_SHOT_OUT:
actor[j].t_data[4] = 1 - actor[j].t_data[4];
actor[j].t_data[4] = 1;
break;
}
}
......
......@@ -1115,18 +1115,12 @@ void G_OperateActivators(int lotag, int playerNum)
{
switch (sprite[foundSprite].lotag)
{
case SE_18_INCREMENTAL_SECTOR_RISE_FALL:
case SE_21_DROP_FLOOR:
case SE_36_PROJ_SHOOTER:
case SE_31_FLOOR_RISE_FALL:
case SE_32_CEILING_RISE_FALL:
case SE_36_PROJ_SHOOTER:
A_CallSound(SECT(spriteNum), foundSprite);
fallthrough__;
case SE_2_EARTHQUAKE:
case SE_18_INCREMENTAL_SECTOR_RISE_FALL:
actor[foundSprite].t_data[0] = 1 - actor[foundSprite].t_data[0];
break;
case SE_3_RANDOM_LIGHTS_AFTER_SHOT_OUT:
actor[foundSprite].t_data[4] = 1 - actor[foundSprite].t_data[4];
A_CallSound(SECT(spriteNum), foundSprite);
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment