mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 13:31:33 +00:00
Use correct hull bounds.
This commit is contained in:
parent
1c52adfd03
commit
b71768cee6
@ -94,13 +94,13 @@ int DLLEXPORT HUD_GetHullBounds( int hullnumber, float *mins, float *maxs )
|
|||||||
switch( hullnumber )
|
switch( hullnumber )
|
||||||
{
|
{
|
||||||
case 0: // Normal player
|
case 0: // Normal player
|
||||||
Vector( -16, -16, -36 ).CopyToArray(mins);
|
Vector( -16, -16, -32 ).CopyToArray(mins);
|
||||||
Vector( 16, 16, 36 ).CopyToArray(maxs);
|
Vector( 16, 16, 32 ).CopyToArray(maxs);
|
||||||
iret = 1;
|
iret = 1;
|
||||||
break;
|
break;
|
||||||
case 1: // Crouched player
|
case 1: // Crouched player
|
||||||
Vector( -16, -16, -18 ).CopyToArray(mins);
|
Vector( -16, -16, -32 ).CopyToArray(mins);
|
||||||
Vector( 16, 16, 18 ).CopyToArray(maxs);
|
Vector( 16, 16, 32 ).CopyToArray(maxs);
|
||||||
iret = 1;
|
iret = 1;
|
||||||
break;
|
break;
|
||||||
case 2: // Point based hull
|
case 2: // Point based hull
|
||||||
|
Loading…
x
Reference in New Issue
Block a user