mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Duke: Fix incorrect distance value in handle_se28()
.
This commit is contained in:
parent
2d7ab0f581
commit
9a301d6e06
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ static void handle_se28(DDukeActor* actor)
|
|||
const auto pact = p->GetActor();
|
||||
double dist = (pact->spr.pos.XY() - act2->spr.pos.XY()).LengthSquared();
|
||||
|
||||
if (dist < 49*48)
|
||||
if (dist < 48*48)
|
||||
{
|
||||
if (S_CheckActorSoundPlaying(pact, DUKE_LONGTERM_PAIN) < 1)
|
||||
S_PlayActorSound(DUKE_LONGTERM_PAIN, pact);
|
||||
|
|
Loading…
Reference in a new issue