From 97f14c0e0ef6d6e67a969fb7a958c7b71d799ef7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 14 Jan 2023 11:53:13 +0100 Subject: [PATCH] - Duke: fixed projectile offsetting for BOSS2 and BOSS3 --- source/games/duke/src/player_d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/player_d.cpp b/source/games/duke/src/player_d.cpp index fdc599c93..0c95b9feb 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -677,7 +677,7 @@ static void shootrpg(DDukeActor *actor, int p, DVector3 pos, DAngle ang, int atw double zoffs = 32; if (isWorldTour()) // Twentieth Anniversary World Tour zoffs *= (actor->spr.scale.Y * 0.8); - pos.Z += zoffs; + pos.Z -= zoffs; } else if (actor->spr.picnum == DTILE_BOSS2) { @@ -685,7 +685,7 @@ static void shootrpg(DDukeActor *actor, int p, DVector3 pos, DAngle ang, int atw double zoffs = 24; if (isWorldTour()) // Twentieth Anniversary World Tour zoffs *= (actor->spr.scale.Y * 0.8); - pos.Z -= zoffs; + pos.Z += zoffs; } double dist = (ps[j].GetActor()->spr.pos.XY() - actor->spr.pos.XY()).Length();