- forgot to change 2 files for last commit.

SVN r639 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-25 10:25:43 +00:00
parent faa9cc4302
commit 6b9f3c8247
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ void A_RestoreSpecialPosition (AActor *self)
_x = self->SpawnPoint[0] << FRACBITS;
_y = self->SpawnPoint[1] << FRACBITS;
sec = R_PointInSubsector (_x, _y)->sector;
sec = P_PointInSector (_x, _y);
self->SetOrigin (_x, _y, sec->floorplane.ZatPoint (_x, _y));
P_CheckPosition (self, _x, _y);

View file

@ -1615,7 +1615,7 @@ void A_Burnination (AActor *self)
fixed_t x = self->x + (xofs << FRACBITS);
fixed_t y = self->y + (yofs << FRACBITS);
sector_t * sector = R_PointInSubsector(x, y)->sector;
sector_t * sector = P_PointInSector(x, y);
// The sector's floor is too high so spawn the flame elsewhere.
if (sector->floorplane.ZatPoint(x, y) > self->z + self->MaxStepHeight)