- Duke: Fix bad setup in move_d() that stopped enforcer working properly in E3L1.

* Merge with or above `- eliminated all of add_int_zvel.`.
This commit is contained in:
Mitchell Richters 2022-10-08 20:31:50 +11:00 committed by Christoph Oelckers
parent 1814274124
commit 2081e270cd

View file

@ -3507,7 +3507,7 @@ void move_d(DDukeActor *actor, int playernum, int xvel)
if ((a & jumptoplayer) == jumptoplayer)
{
if (actor->temp_data[0] < 16)
actor->vel.Z += BobVal(512 + (actor->temp_data[0] << 4)) * 2;
actor->vel.Z -= BobVal(512 + (actor->temp_data[0] << 4)) * 2;
}
if (a & face_player_smart)