- Duke: Remove 2x player sprite Z setters that shouldn't be necessary.

This commit is contained in:
Mitchell Richters 2022-11-24 22:40:40 +11:00 committed by Christoph Oelckers
parent 4848a844af
commit a5e35637ac
2 changed files with 0 additions and 6 deletions

View file

@ -3156,9 +3156,6 @@ void move_d(DDukeActor *actor, int playernum, int xvel)
}
}
}
else if (actor->spr.picnum == APLAYER)
if ((actor->spr.pos.Z - actor->ceilingz) < 32)
actor->spr.pos.Z = actor->ceilingz + 32;
daxvel = actor->vel.X;
angdif = actor->spr.angle;

View file

@ -3189,9 +3189,6 @@ void move_r(DDukeActor *actor, int pnum, int xvel)
}
}
}
else if (actor->spr.picnum == APLAYER)
if ((actor->spr.pos.Z - actor->ceilingz) < 32)
actor->spr.pos.Z = actor->ceilingz + 32;
daxvel = actor->vel.X;
angdif = actor->spr.angle;