mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-06 18:12:14 +00:00
Fix vehicle-death crash in SP
The assert here is unneeded because RagdollSetupCollisions already has code to handle pCollide being null.
This commit is contained in:
parent
56accfdb9c
commit
8e27c417df
1 changed files with 0 additions and 1 deletions
|
@ -314,7 +314,6 @@ static void RagdollCreateObjects( IPhysicsEnvironment *pPhysEnv, ragdoll_t &ragd
|
|||
|
||||
void RagdollSetupCollisions( ragdoll_t &ragdoll, vcollide_t *pCollide, int modelIndex )
|
||||
{
|
||||
Assert(pCollide);
|
||||
if (!pCollide)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue