From 2081e270cdcf6ebc63c7fac8cab2f057e15d65ec Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 8 Oct 2022 20:31:50 +1100 Subject: [PATCH] - Duke: Fix bad setup in `move_d()` that stopped enforcer working properly in E3L1. * Merge with or above `- eliminated all of add_int_zvel.`. --- source/games/duke/src/actors_d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/actors_d.cpp b/source/games/duke/src/actors_d.cpp index ef093ceee..296577865 100644 --- a/source/games/duke/src/actors_d.cpp +++ b/source/games/duke/src/actors_d.cpp @@ -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)