Skip to content

Commit

Permalink
changes requested
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghugo committed Jul 27, 2024
1 parent e0c154b commit c81bbb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions BunnymodXT/modules/ServerDLL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3505,8 +3505,6 @@ void TriggerTpLandmarkAfter(entvars_t *pev, Vector offset)
pev->origin = pev->origin + offset;
// have to offset by some HULL because of origin z diff
const auto is_duck = pev->bInDuck || pev->flags & (FL_DUCKING);
const Vector VEC_HULL_MIN(-16, -16, -36);
const Vector VEC_DUCK_HULL_MIN(-16, -16, -18);
const auto hull_offset = is_duck ? VEC_DUCK_HULL_MIN : VEC_HULL_MIN;

pev->origin[2] += hull_offset[2];
Expand Down

0 comments on commit c81bbb2

Please sign in to comment.