- fixed SE30 moving player twice each step.

With the changes in dd5834444e it was applying movement to the player in both the player and the actor loop.
This commit is contained in:
Christoph Oelckers 2022-12-13 16:16:48 +01:00
parent f45265352d
commit fba882e368

View file

@ -1160,7 +1160,7 @@ void handle_se30(DDukeActor *actor, int JIBS6)
DukeSectIterator its(actor->sector());
while (auto a2 = its.Next())
{
if (!iseffector(a2) && !islocator(a2))
if (!iseffector(a2) && !islocator(a2) && !a2->isPlayer())
{
a2->spr.pos += vect;