mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +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;
|
flags5 = info->flags5;
|
||||||
flags6 = info->flags6;
|
flags6 = info->flags6;
|
||||||
flags7 = info->flags7;
|
flags7 = info->flags7;
|
||||||
|
if (SpawnFlags & MTF_FRIENDLY) flags |= MF_FRIENDLY;
|
||||||
DamageType = info->DamageType;
|
DamageType = info->DamageType;
|
||||||
health = SpawnHealth();
|
health = SpawnHealth();
|
||||||
target = NULL;
|
target = NULL;
|
||||||
|
|
Loading…
Reference in a new issue