mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
fix entity errors when using NoCulling
This commit is contained in:
parent
d62962e8c8
commit
3f2506ad22
@ -476,11 +476,11 @@ function PART:DrawModel(ent, pos, ang)
|
||||
ent_draw_model(self, ent, pos, ang)
|
||||
ent.pac_drawing_model = false
|
||||
|
||||
_self, _ent, _pos, _ang = self, ent, pos, ang
|
||||
|
||||
if self.ClassName ~= "entity2" then
|
||||
render.PushFlashlightMode(true)
|
||||
|
||||
_self, _ent, _pos, _ang = self, ent, pos, ang
|
||||
|
||||
material_bound = self:BindMaterials(ent) or material_bound
|
||||
ent.pac_drawing_model = true
|
||||
ProtectedCall(protected_ent_draw_model)
|
||||
|
Loading…
Reference in New Issue
Block a user