Don't ignite friends with "pants on fire" cheat.
This commit is contained in:
parent
16cb5573c1
commit
ba1583ca76
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.21 r4 \cu(Tue 7 Jun 12:06:53 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.21 r4 \cu(2022-06-07 12:06:53)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.21 r5 \cu(Tue 7 Jun 12:07:04 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.21 r5 \cu(2022-06-07 12:07:04)\c-";
|
||||
|
|
|
|||
|
|
@ -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