ragdoll hotfix

This commit is contained in:
David Hepworth 2012-08-06 04:50:48 +01:00
parent 8b8489589c
commit 96c8a2e360

View File

@ -16,6 +16,7 @@ function MakeSpherical.CanTool( ent )
if (
not ent:IsValid()
or string.find( ent:GetClass(), "npc_" ) or ( ent:GetClass() == "player" )
or ( ent:GetClass() == "prop_ragdoll" )
or ( ent:GetMoveType() ~= MOVETYPE_VPHYSICS ) )
then return false