diff --git a/src/playsim/actor.h b/src/playsim/actor.h index 37c27a820..c2e06cc8c 100644 --- a/src/playsim/actor.h +++ b/src/playsim/actor.h @@ -1313,7 +1313,7 @@ public: int DesignatedTeam; // Allow for friendly fire cacluations to be done on non-players. int friendlyseeblocks; // allow to override friendly search distance calculation - AActor *BlockingMobj; // Actor that blocked the last move + TObjPtr BlockingMobj; // Actor that blocked the last move line_t *BlockingLine; // Line that blocked the last move line_t *MovementBlockingLine; // Line that stopped the Actor's movement in P_XYMovement sector_t *Blocking3DFloor; // 3D floor that blocked the last move (if any) diff --git a/src/playsim/p_mobj.cpp b/src/playsim/p_mobj.cpp index 105eb8908..33c44facc 100644 --- a/src/playsim/p_mobj.cpp +++ b/src/playsim/p_mobj.cpp @@ -178,6 +178,7 @@ IMPLEMENT_POINTERS_START(AActor) IMPLEMENT_POINTER(goal) IMPLEMENT_POINTER(LastLookActor) IMPLEMENT_POINTER(Inventory) + IMPLEMENT_POINTER(BlockingMobj) IMPLEMENT_POINTER(LastHeard) IMPLEMENT_POINTER(master) IMPLEMENT_POINTER(Poisoner)