From: DeaDDooMER Date: Mon, 27 Feb 2023 00:21:49 +0000 (+0300) Subject: game: fix bfg ball offset X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=b691e51871882b69a9fa3755e4ec5be75c8bdfcc;p=d2df-sdl.git game: fix bfg ball offset --- 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