TeleportInSector & TeleportGroup change angle if "Fog" is 1

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!

TeleportInSector & TeleportGroup change angle if "Fog" is 1

Postby FishyClockwork » Fri May 21, 2021 1:28 pm

TeleportInSector and TeleportGroup.

I don't know how long it's been like this. I don't know if fixing this would break some really old mod. And I don't know if this is actually intentional so I'm reporting it anyway.

Let's assume the "source" and "destination" spots have the same angle.
If the "fog" parameter is 0 then all teleported things won't have their angles changed. This, I assume, is the correct behaviour.
However, if "fog" is 1 then all teleported things seem to face eastward (angle is set to 0).

MultiTeleTest.wad

In this test map all monsters are "dormant", the skull-switches call TeleportGroup (it only teleports the player) and the non-skull-switches call TeleportInSector (and will teleport the monsters too).
The switches in the red colored sectors have "fog" set to 0.
The switches in the blue colored sectors have "fog" set to 1.
You do not have the required permissions to view the files attached to this post.
User avatar
FishyClockwork
 
Joined: 23 Feb 2011

Re: TeleportInSector & TeleportGroup change angle if "Fog" i

Postby FishyClockwork » Sat May 22, 2021 3:39 am

I've managed to narrow it down here. It seems to be used by both TeleportInSector and TeleportGroup.
User avatar
FishyClockwork
 
Joined: 23 Feb 2011


Return to Bugs

Who is online

Users browsing this forum: axredneck and 1 guest