mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- 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:
parent
f45265352d
commit
fba882e368
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue