Browse Source

Use correct hull bounds.

dmc
Night Owl 7 years ago
parent
commit
b71768cee6
  1. 8
      cl_dll/cdll_int.cpp

8
cl_dll/cdll_int.cpp

@ -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…
Cancel
Save