friendliness flag is not passed from parents to children

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Chameleon-111

friendliness flag is not passed from parents to children

Post by Chameleon-111 »

The legacy of friendliness from parent to children has been broken.
For example:
1) SummonFriend PainElemental
2) Kill this monster (please - not use cheat "kill monsters")

Spawned lost souls will be hostile

P.S.
And there are many cases of lack of transfer of friendliness. They vary greatly in different situations. But I think the essence is clear.
I will also add that there are a lot of cases related to RandomSpawners, projectiles spawning monsters and e.t.c

Sorry for my English
Last edited by Caligari87 on Sun Jul 20, 2025 9:18 pm, edited 1 time in total.
Reason: Updated post title to be more clear
User avatar
Redneckerz
Spotlight Team
Posts: 1120
Joined: Mon Nov 25, 2019 8:54 am
Graphics Processor: Intel (Modern GZDoom)

Re: 5

Post by Redneckerz »

What is the actual bug?
Chameleon-111

Re: 5

Post by Chameleon-111 »

Redneckerz wrote: Wed Jul 16, 2025 1:26 pm What is the actual bug?
The friendliness flag is not passed from parents to children. In version 4.8.2 there were no errors related to this flag. The update to version 4.14.2 showed a lot of such cases.
User avatar
Rachael
Posts: 13934
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: 5

Post by Rachael »

Can you be more specific finding the version where this broke? The P_SpawnMobj code stayed mostly the same, and the CopyFriendliness() code did not change one bit, so whereever the regression happened it's going to require tracking it down by version.
Post Reply

Return to “Bugs [GZDoom]”