mirror of
https://github.com/DrBeef/Raze.git
synced 2025-04-01 21:50:51 +00:00
- fixed bad distance check.
This originally was 18000, not 10000
This commit is contained in:
parent
2f1cda39fa
commit
16cc147173
1 changed files with 1 additions and 1 deletions
|
@ -11782,7 +11782,7 @@ int DoSerpRing(DSWActor* actor)
|
|||
double dist = (actor->spr.pos.XY() - actor->user.targetActor->spr.pos.XY()).Length();
|
||||
|
||||
// if ((dist ok and random ok) OR very few skulls left)
|
||||
if ((dist < 625 && (RANDOM_P2(2048<<5)>>5) < 16) || own->user.Counter < 4)
|
||||
if ((dist < 1125 && (RANDOM_P2(2048<<5)>>5) < 16) || own->user.Counter < 4)
|
||||
{
|
||||
auto sect = actor->sector();
|
||||
updatesector(actor->spr.pos, §);
|
||||
|
|
Loading…
Reference in a new issue