Skip to content

Commit

Permalink
FIX: Don't set new origin for world entity (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov authored Oct 7, 2023
1 parent 9d8fd28 commit 8ed272c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static CWorld_GetCenter(Float: out[3], &longerAxis) {

longerAxis = floatabs(out[XS_X] - start[XS_X]) < floatabs(out[XS_Y] - start[XS_Y])

set_pev(0, pev_origin, out, sizeof(out)) // TODO: hacky ?!
// engfunc(EngFunc_SetOrigin, 0, out) // TODO: hacky ?!
}

static CBarrier_Spawn(const Float: origin[3], const Float: mins[3], const Float: maxs[3], const Float: pushForce = 2.0) {
Expand Down

0 comments on commit 8ed272c

Please sign in to comment.