Don't ignite friends with "pants on fire" cheat.
This commit is contained in:
parent
dbc28f1422
commit
7e5a6bb05c
2 changed files with 3 additions and 3 deletions
|
|
@ -402,7 +402,7 @@ extend Class SWWMHandler
|
|||
bool burned = false;
|
||||
while ( a = Actor(ti.Next()) )
|
||||
{
|
||||
if ( !a.bSHOOTABLE || a.player || !SWWMUtility.InPlayerFOV(players[e.Args[0]],a) ) continue;
|
||||
if ( !a.bSHOOTABLE || a.player || a.IsFriend(players[e.Args[0]].mo) || !SWWMUtility.InPlayerFOV(players[e.Args[0]],a) ) continue;
|
||||
OnFire.Apply(a,players[e.Args[0]].mo,500);
|
||||
burned = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue