Skip to content

Commit

Permalink
Further improve lift logic
Browse files Browse the repository at this point in the history
Things on and near lifts now get their over/under mobjs set and/or cleared in `P_ThingHeightClip()`.
  • Loading branch information
MrAlaux committed Dec 9, 2023
1 parent 352987f commit 7ca1b66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/p_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,8 @@ static boolean P_ThingHeightClip(mobj_t *thing)

P_CheckPosition(thing, thing->x, thing->y);

P_SetOverUnderMobjs(tmthing); // [Nugget] Over/Under

// what about stranding a monster partially off an edge?
// killough 11/98: Answer: see below (upset balance if hanging off ledge)

Expand Down

0 comments on commit 7ca1b66

Please sign in to comment.