mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
fpersmissive fixes
This commit is contained in:
@@ -1068,7 +1068,7 @@ void CCollisionEvent::FluidStartTouch( IPhysicsObject *pObject, IPhysicsFluidCon
|
||||
return;
|
||||
|
||||
pEntity->AddEFlags( EFL_TOUCHING_FLUID );
|
||||
pEntity->OnEntityEvent( ENTITY_EVENT_WATER_TOUCH, (void*)pFluid->GetContents() );
|
||||
pEntity->OnEntityEvent( ENTITY_EVENT_WATER_TOUCH, (void*)(intp)pFluid->GetContents() );
|
||||
|
||||
float timeSinceLastCollision = DeltaTimeSinceLastFluid( pEntity );
|
||||
if ( timeSinceLastCollision < 0.5f )
|
||||
@@ -1124,7 +1124,7 @@ void CCollisionEvent::FluidEndTouch( IPhysicsObject *pObject, IPhysicsFluidContr
|
||||
}
|
||||
|
||||
pEntity->RemoveEFlags( EFL_TOUCHING_FLUID );
|
||||
pEntity->OnEntityEvent( ENTITY_EVENT_WATER_UNTOUCH, (void*)pFluid->GetContents() );
|
||||
pEntity->OnEntityEvent( ENTITY_EVENT_WATER_UNTOUCH, (void*)(intp)pFluid->GetContents() );
|
||||
}
|
||||
|
||||
class CSkipKeys : public IVPhysicsKeyHandler
|
||||
|
||||
Reference in New Issue
Block a user