- Part 2 of the sanity crusade.

This commit is contained in:
ZzZombo 2015-02-08 17:03:49 +08:00
commit c4b742ebf0
18 changed files with 59 additions and 69 deletions

View file

@ -2533,8 +2533,6 @@ static bool P_CheckForResurrection(AActor *self, bool usevilestates)
// use the current actor's radius instead of the Arch Vile's default.
fixed_t maxdist = corpsehit->GetDefault()->radius + self->radius;
maxdist = corpsehit->GetDefault()->radius + self->radius;
if (abs(corpsehit->x - viletryx) > maxdist ||
abs(corpsehit->y - viletryy) > maxdist)
continue; // not actually touching