mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed: Phobia: The Age (or any mod with DEHACKED overriding player bits) overwrote the player's Friendly flag
This commit is contained in:
parent
1bcbdf9fd1
commit
117b796c6b
1 changed files with 4 additions and 0 deletions
|
@ -1196,6 +1196,10 @@ static int PatchThing (int thingy)
|
||||||
// triggering line effects and can teleport when the missile flag is removed.
|
// triggering line effects and can teleport when the missile flag is removed.
|
||||||
info->flags2 &= ~MF2_NOTELEPORT;
|
info->flags2 &= ~MF2_NOTELEPORT;
|
||||||
}
|
}
|
||||||
|
if (thingy == 1) // [SP] special handling for players - always be friendly!
|
||||||
|
{
|
||||||
|
value[0] |= MF_FRIENDLY;
|
||||||
|
}
|
||||||
info->flags = ActorFlags::FromInt (value[0]);
|
info->flags = ActorFlags::FromInt (value[0]);
|
||||||
}
|
}
|
||||||
if (vchanged[1])
|
if (vchanged[1])
|
||||||
|
|
Loading…
Reference in a new issue