From 8e27c417dff9cb80f001f9866ebd651774fec0c5 Mon Sep 17 00:00:00 2001 From: Carter Sande Date: Fri, 4 Jul 2014 00:20:14 -0700 Subject: [PATCH] Fix vehicle-death crash in SP The assert here is unneeded because RagdollSetupCollisions already has code to handle pCollide being null. --- sp/src/game/shared/ragdoll_shared.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/sp/src/game/shared/ragdoll_shared.cpp b/sp/src/game/shared/ragdoll_shared.cpp index e77e9a755..ff3eb92d7 100644 --- a/sp/src/game/shared/ragdoll_shared.cpp +++ b/sp/src/game/shared/ragdoll_shared.cpp @@ -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;