From b691e51871882b69a9fa3755e4ec5be75c8bdfcc Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Mon, 27 Feb 2023 03:21:49 +0300 Subject: [PATCH] game: fix bfg ball offset --- src/game/g_weapons.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/game/g_weapons.pas b/src/game/g_weapons.pas index 8554e22..c4fa747 100644 --- a/src/game/g_weapons.pas +++ b/src/game/g_weapons.pas @@ -2596,6 +2596,12 @@ begin p.X := Obj.Rect.Width div 2; p.Y := Obj.Rect.Height div 2; + if Shots[i].ShotType = WEAPON_BFG then + begin + DEC(fX, 6); + DEC(fY, 7); + end; + if Animation <> nil then begin if (Shots[i].ShotType = WEAPON_BARON_FIRE) or -- 2.29.2