mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Dedicated build
This commit is contained in:
@@ -461,7 +461,9 @@ pmtrace_t PM_PlayerTraceExt( playermove_t *pmove, vec3_t start, vec3_t end, int
|
||||
// run custom sweep callback
|
||||
if( pmove->server || Host_IsLocalClient( ))
|
||||
SV_ClipPMoveToEntity( pe, start, mins, maxs, end, &trace_bbox );
|
||||
#ifndef XASH_DEDICATED
|
||||
else CL_ClipPMoveToEntity( pe, start, mins, maxs, end, &trace_bbox );
|
||||
#endif
|
||||
}
|
||||
else if( hullcount == 1 )
|
||||
{
|
||||
@@ -628,7 +630,9 @@ int PM_TestPlayerPosition( playermove_t *pmove, vec3_t pos, pmtrace_t *ptrace, p
|
||||
// run custom sweep callback
|
||||
if( pmove->server || Host_IsLocalClient( ))
|
||||
SV_ClipPMoveToEntity( pe, pos, mins, maxs, pos, &trace );
|
||||
#ifndef XASH_DEDICATED
|
||||
else CL_ClipPMoveToEntity( pe, pos, mins, maxs, pos, &trace );
|
||||
#endif
|
||||
|
||||
// if we inside the custom hull
|
||||
if( trace.allsolid )
|
||||
|
||||
Reference in New Issue
Block a user