Skip to content

Commit

Permalink
Refactor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRaveYard committed Aug 4, 2024
1 parent 747fbab commit dda4271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playsim/p_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6235,7 +6235,7 @@ int P_RadiusAttack(AActor *bombspot, AActor *bombsource, int bombdamage, double
if (flags & RADF_CIRCULARTHRUST)
{
auto dir = bombspot->Vec3To(thing);
dir.Z += (thing->Center() - thing->Z()) - (bombspot->Center() - bombspot->Z());
dir.Z += thing->CenterOffset() - bombspot->CenterOffset();

if (!dir.isZero())
{
Expand Down

0 comments on commit dda4271

Please sign in to comment.