mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-12 23:07:55 +03:00
Fixed a crash involving clientside ragdoll impact decals
This commit is contained in:
parent
301309f76b
commit
7161dee1a3
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user