- fixed bad velocity assignment in DoLaser, causing an endless loop.

This commit is contained in:
Christoph Oelckers 2022-11-10 10:00:44 +01:00
parent 53341ee525
commit cfb9ebf8e5

View file

@ -9360,7 +9360,7 @@ int DoLaser(DSWActor* actor)
actorNew->spr.cstat |= (CSTAT_SPRITE_YCENTER);
actorNew->spr.cstat &= ~(CSTAT_SPRITE_BLOCK|CSTAT_SPRITE_BLOCK_HITSCAN);
actor->user.change.Zero();
actorNew->user.change.Zero();
}
}
}