[Fixed] Leaves spawned from LeafSpawner move East [Hexen]

Bugs that have been investigated and resolved somehow.

Moderators: Developers, ZDoom.org Team

Leaves spawned from LeafSpawner move East [Hexen]

Postby Rip and Tear » Wed Dec 06, 2017 6:28 pm

All leaves spawned from a LeafSpawner have an initial eastward velocity, regardless of the orientation of the LeafSpawner thing.

The easiest way to see this is to start MAP01 of Hexen and walk to the tree directly to the right.

This behavior could not be observed in Chocolate Hexen.

(Tested in GZDoom 3.2.3)
Last edited by Rip and Tear on Wed Dec 06, 2017 7:35 pm, edited 1 time in total.
User avatar
Rip and Tear
 
Joined: 02 May 2017

Re: Leaves spawned from LeafSpawner move East [Hexen]

Postby Rip and Tear » Wed Dec 06, 2017 7:00 pm

I have identified the source of the issue, it is a missing angle argument in this line of ZScript

Code: Select allExpand view
mo.Thrust(random[LeafSpawn]() / 128. + 3);

hexenspecialdecs.txt, line 461
User avatar
Rip and Tear
 
Joined: 02 May 2017

Re: Leaves spawned from LeafSpawner move East [Hexen]

Postby _mental_ » Sat Dec 09, 2017 4:59 am

Angle was ignored indeed, thanks for finding the culprit. Fixed in 8176951.
_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest