twhl-community / halflife-unified-sdk

Half-Life Updated SDK with Opposing Force and Blue Shift merged in, along with other improvements. Check README.md for more information.
Other
146 stars 26 forks source link

func_plat has backwards mins/maxs errors when using negative height #480

Open SamVanheer opened 1 year ago

SamVanheer commented 1 year ago

func_plat has backwards mins/maxs errors when using negative height.

The fgd claims height can be negative but because of how func_plat_trigger calculates its bounding box a negative height will result in that error.

It should be as easy as swapping the min and max x y and z bounds to make them valid to fix this error.