mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 07:17:57 +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;
|
bHitRagdoll = true;
|
||||||
|
|
||||||
if (g_ragdoll_client_impact_decals.GetBool())
|
if (g_ragdoll_client_impact_decals.GetBool() && pRagdoll->IsRagdoll())
|
||||||
{
|
{
|
||||||
pEntity = pRagdoll;
|
pEntity = pRagdoll;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user