Commit 645941b8 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Duke3d: change goofy picnum check I didn't like

parent ec133d2c
......@@ -7856,14 +7856,8 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
fallthrough__;
case STAT_ACTOR:
case STAT_DEFAULT:
if (sprite[sectSprite].picnum == BOLT1
|| sprite[sectSprite].picnum == BOLT1 + 1
|| sprite[sectSprite].picnum == BOLT1 + 2
|| sprite[sectSprite].picnum == BOLT1 + 3
|| sprite[sectSprite].picnum == SIDEBOLT1
|| sprite[sectSprite].picnum == SIDEBOLT1 + 1
|| sprite[sectSprite].picnum == SIDEBOLT1 + 2
|| sprite[sectSprite].picnum == SIDEBOLT1 + 3
if ((sprite[sectSprite].picnum >= BOLT1 && sprite[sectSprite].picnum <= BOLT1 + 3)
|| (sprite[sectSprite].picnum >= SIDEBOLT1 && sprite[sectSprite].picnum <= SIDEBOLT1 + 3)
|| A_CheckSwitchTile(sectSprite))
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