mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-11 20:11:33 +03:00
Fixed a crash involving clientside ragdoll impact decals
This commit is contained in:
@@ -173,7 +173,7 @@ bool Impact( Vector &vecOrigin, Vector &vecStart, int iMaterial, int iDamageType
|
||||
{
|
||||
bHitRagdoll = true;
|
||||
|
||||
if (g_ragdoll_client_impact_decals.GetBool())
|
||||
if (g_ragdoll_client_impact_decals.GetBool() && pRagdoll->IsRagdoll())
|
||||
{
|
||||
pEntity = pRagdoll;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user