Compare commits
2 commits
764bb94570
...
690035b3dd
Author | SHA1 | Date | |
---|---|---|---|
690035b3dd | |||
327f686f62 |
2 changed files with 2 additions and 6 deletions
|
@ -652,11 +652,7 @@ end
|
||||||
function meta:ShouldNotCollide(ent)
|
function meta:ShouldNotCollide(ent)
|
||||||
if E_IsValid(ent) then
|
if E_IsValid(ent) then
|
||||||
if getmetatable(ent) == meta then
|
if getmetatable(ent) == meta then
|
||||||
if P_Team(self) == P_Team(ent) or E_GetTable(self).NoCollideAll or E_GetTable(ent).NoCollideAll then
|
return P_Team(self) == P_Team(ent) or E_GetTable(self).NoCollideAll or E_GetTable(ent).NoCollideAll
|
||||||
return true
|
|
||||||
end
|
|
||||||
|
|
||||||
return false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return E_GetDTBool(self, 0) and ent:IsBarricadeProp()
|
return E_GetDTBool(self, 0) and ent:IsBarricadeProp()
|
||||||
|
|
|
@ -75,7 +75,7 @@ Hook. Human kills a zombie.
|
||||||
GM:HumanKilledZombie(Player victim, Player attacker, DamageInfo dmginfo, Bool headshot, Bool wassuicide)
|
GM:HumanKilledZombie(Player victim, Player attacker, DamageInfo dmginfo, Bool headshot, Bool wassuicide)
|
||||||
|
|
||||||
Hook. Zombie kills a human.
|
Hook. Zombie kills a human.
|
||||||
GM:HumanKilledZombie(Player victim, Player attacker, DamageInfo dmginfo, Bool headshot, Bool wassuicide)
|
GM:ZombieKilledHuman(Player victim, Player attacker, DamageInfo dmginfo, Bool headshot, Bool wassuicide)
|
||||||
|
|
||||||
SELF-EXPLANATORY HOOKS AND FUNCTIONS
|
SELF-EXPLANATORY HOOKS AND FUNCTIONS
|
||||||
GM:LoadMapEditorFile()
|
GM:LoadMapEditorFile()
|
||||||
|
|
Loading…
Reference in a new issue