From 0dfa2c6a8185696f1552eff77333030dcc86c07b Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 10 Jan 2016 13:40:51 -0500 Subject: Fixed npc's not being able to be hit --- entities/entities/ws_npc_ambient/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'entities') diff --git a/entities/entities/ws_npc_ambient/init.lua b/entities/entities/ws_npc_ambient/init.lua index 523333c..d169357 100644 --- a/entities/entities/ws_npc_ambient/init.lua +++ b/entities/entities/ws_npc_ambient/init.lua @@ -7,7 +7,7 @@ include('shared.lua') function ENT:Initialize() --print("NPC spawned!") --self:SetMoveType(MOVETYPE_STEP) - self:SetSolid(SOLID_NONE) + self:SetSolid(SOLID_VPHYSICS) --self:SetCollisionGroup(COLLISION_GROUP_INTERACTIVE) if(self.Model) then self:SetModel(self.Model) -- cgit v1.2.3-70-g09d2