Commit 3e43bed6 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Duke3d: allow SE_14_SUBWAY_CAR to move STAT_PLAYER sprites

Fixes #18.
parent af5d96ca
......@@ -6474,9 +6474,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
j = headspritesect[pSprite->sectnum];
while (j >= 0)
{
// KEEPINSYNC2
if (sprite[j].statnum != STAT_PLAYER
&& (sprite[j].picnum != SECTOREFFECTOR || (sprite[j].lotag == SE_49_POINT_LIGHT || sprite[j].lotag == SE_50_SPOT_LIGHT))
if ((sprite[j].picnum != SECTOREFFECTOR || (sprite[j].lotag == SE_49_POINT_LIGHT || sprite[j].lotag == SE_50_SPOT_LIGHT))
&& sprite[j].picnum != LOCATORS)
{
if (move_rotfixed_sprite(j, pSprite - sprite, pData[2]))
......
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