mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- use proper constructor for FMultiBlockLinesIterator in P_CheckPosition.
This commit is contained in:
parent
ed2b107bc9
commit
4b0af5967e
1 changed files with 1 additions and 2 deletions
|
@ -1542,7 +1542,7 @@ bool P_CheckPosition(AActor *thing, fixed_t x, fixed_t y, FCheckPosition &tm, bo
|
|||
if (actorsonly || (thing->flags & MF_NOCLIP))
|
||||
return (thing->BlockingMobj = thingblocker) == NULL;
|
||||
|
||||
FMultiBlockLinesIterator it(pcheck, thing);
|
||||
FMultiBlockLinesIterator it(pcheck, x, y, thing->Z(), thing->height, thing->radius);
|
||||
FMultiBlockLinesIterator::CheckResult lcres;
|
||||
|
||||
fixed_t thingdropoffz = tm.floorz;
|
||||
|
@ -1835,7 +1835,6 @@ bool P_TryMove(AActor *thing, fixed_t x, fixed_t y,
|
|||
fixed_t oldz;
|
||||
int side;
|
||||
int oldside;
|
||||
line_t* ld;
|
||||
sector_t* oldsec = thing->Sector; // [RH] for sector actions
|
||||
sector_t* newsec;
|
||||
|
||||
|
|
Loading…
Reference in a new issue