mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed: monsters which were made friendly by the MBF map flag lost their friendliness when being revived with Thing_Raise.
This commit is contained in:
parent
2c38e20352
commit
1d434add50
1 changed files with 1 additions and 0 deletions
|
@ -6404,6 +6404,7 @@ void AActor::Revive()
|
|||
flags5 = info->flags5;
|
||||
flags6 = info->flags6;
|
||||
flags7 = info->flags7;
|
||||
if (SpawnFlags & MTF_FRIENDLY) flags |= MF_FRIENDLY;
|
||||
DamageType = info->DamageType;
|
||||
health = SpawnHealth();
|
||||
target = NULL;
|
||||
|
|
Loading…
Reference in a new issue