|
|
|
@ -2286,14 +2286,14 @@ static void pfnTraceModel( const float *v1, const float *v2, int hullNumber, edi
@@ -2286,14 +2286,14 @@ static void pfnTraceModel( const float *v1, const float *v2, int hullNumber, edi
|
|
|
|
|
pent->v.movetype = MOVETYPE_PUSH; |
|
|
|
|
pent->v.solid = SOLID_BSP; |
|
|
|
|
|
|
|
|
|
SV_ClipMoveToEntity( pent, v1, mins, maxs, v2, &trace ); |
|
|
|
|
SV_ClipMoveToEntity( pent, v1, mins, maxs, v2, &trace ); |
|
|
|
|
|
|
|
|
|
pent->v.movetype = oldmovetype; |
|
|
|
|
pent->v.solid = oldsolid; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
SV_ClipMoveToEntity( pent, v1, mins, maxs, v2, &trace ); |
|
|
|
|
SV_ClipMoveToEntity( pent, v1, mins, maxs, v2, &trace ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
SV_ConvertTrace( ptr, &trace ); |
|
|
|
@ -2368,7 +2368,7 @@ void pfnGetAimVector( edict_t* ent, float speed, float *rgflReturn )
@@ -2368,7 +2368,7 @@ void pfnGetAimVector( edict_t* ent, float speed, float *rgflReturn )
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
if( FBitSet( check->v.flags, FL_FAKECLIENT )) |
|
|
|
|
continue; |
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
if( ent->v.team > 0 && ent->v.team == check->v.team ) |
|
|
|
|
continue; |
|
|
|
@ -4006,7 +4006,7 @@ void SV_PlaybackEventFull( int flags, const edict_t *pInvoker, word eventindex,
@@ -4006,7 +4006,7 @@ void SV_PlaybackEventFull( int flags, const edict_t *pInvoker, word eventindex,
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if( !FBitSet( flags, FEV_GLOBAL ) && VectorIsNull( pvspoint )) |
|
|
|
|
{ |
|
|
|
|
{ |
|
|
|
|
Con_DPrintf( S_ERROR "%s: not a FEV_GLOBAL event missing origin. Ignored.\n", sv.event_precache[eventindex] ); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -5053,7 +5053,7 @@ qboolean SV_LoadProgs( const char *name )
@@ -5053,7 +5053,7 @@ qboolean SV_LoadProgs( const char *name )
|
|
|
|
|
if( !GetEntityAPI && !GetEntityAPI2 ) |
|
|
|
|
{ |
|
|
|
|
COM_FreeLibrary( svgame.hInstance ); |
|
|
|
|
Con_Printf( S_ERROR "SV_LoadProgs: failed to get address of GetEntityAPI proc\n" ); |
|
|
|
|
Con_Printf( S_ERROR "SV_LoadProgs: failed to get address of GetEntityAPI proc\n" ); |
|
|
|
|
svgame.hInstance = NULL; |
|
|
|
|
Mem_FreePool(&svgame.mempool); |
|
|
|
|
return false; |
|
|
|
|