Duke3d: allow SE_14_SUBWAY_CAR to move STAT_PLAYER sprites

Fixes #18.
This commit is contained in:
Richard C. Gobeille 2020-04-29 22:16:01 -07:00 committed by Christoph Oelckers
parent 23909f8ca1
commit dc9c6ce2e6
1 changed files with 1 additions and 3 deletions

View File

@ -6458,9 +6458,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]))