Page 1 of 1

A_FireProjectile does not handle FPF_NOAUTOAIM

Posted: Fri Jan 25, 2019 5:47 pm
by Marisa the Magician
This was encountered by someone in a certain place who refused to report the bug.

The bug was introduced after this function was scriptified. After some digging I can see it's because the call to SpawnPlayerMissile was not adapted to the arguments the zscript version of it takes. Just removing the "NULL" on line 115 of stateprovider.txt should do the job.

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Posted: Sat Jan 26, 2019 12:15 am
by Turret49
I know it's a deprecated function but A_FireCustomMissile has this problem as well.

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Posted: Sat Jan 26, 2019 12:24 am
by Kinsie
Marisa Kirisame wrote:This was encountered by someone in a certain place who refused to report the bug.
It's a pity that I keep seeing stuff like this happening for one reason or another. I've had to nag people from a certain other place into reporting stuff a non-zero amount of times, and it's always draining and frustrating.

I guess some people are just looking for an excuse to be and stay upset? v :| v

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Posted: Sat Jan 26, 2019 1:46 am
by Graf Zahl
There is no NULL on line 115 in stateprovider.txt.

If you report bugs this way you really do not help. Either post a link to the problem code that actually shows it (or paste the code into code tags) or make a PR. Now I have to wait for feedback to make sure I fix the right thing. :(

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Posted: Sat Jan 26, 2019 7:40 am
by Marisa the Magician
Oh oops, I mean 220. (I have no idea where I got the 115 from now)

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Posted: Sat Feb 09, 2019 2:25 am
by Graf Zahl
fixed.