mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- forgot to change 2 files for last commit.
SVN r639 (trunk)
This commit is contained in:
parent
faa9cc4302
commit
6b9f3c8247
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue