From 4b0af5967e13ff56a88c45c846f76146f72e2b2d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 22 Feb 2016 14:47:08 +0100 Subject: [PATCH] - use proper constructor for FMultiBlockLinesIterator in P_CheckPosition. --- src/p_map.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 70043d815..77e2003c5 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -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;