mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
Sync with latest source-sdk-2013.
This commit is contained in:
@ -33,6 +33,7 @@
|
||||
#include "ai_behavior_follow.h"
|
||||
#include "ai_behavior_lead.h"
|
||||
#include "gameinterface.h"
|
||||
#include "ilagcompensationmanager.h"
|
||||
|
||||
#ifdef HL2_DLL
|
||||
#include "hl2_player.h"
|
||||
@ -2269,7 +2270,7 @@ void CTriggerPush::Touch( CBaseEntity *pOther )
|
||||
#endif
|
||||
|
||||
Vector vecPush = (m_flPushSpeed * vecAbsDir);
|
||||
if ( pOther->GetFlags() & FL_BASEVELOCITY )
|
||||
if ( ( pOther->GetFlags() & FL_BASEVELOCITY ) && !lagcompensation->IsCurrentlyDoingLagCompensation() )
|
||||
{
|
||||
vecPush = vecPush + pOther->GetBaseVelocity();
|
||||
}
|
||||
|
Reference in New Issue
Block a user