A_FireProjectile does not handle FPF_NOAUTOAIM

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

A_FireProjectile does not handle FPF_NOAUTOAIM

Post 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.
Turret49
Posts: 92
Joined: Sat Aug 29, 2015 1:40 pm

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Post by Turret49 »

I know it's a deprecated function but A_FireCustomMissile has this problem as well.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Post 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
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Post 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. :(
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Post by Marisa the Magician »

Oh oops, I mean 220. (I have no idea where I got the 115 from now)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_FireProjectile does not handle FPF_NOAUTOAIM

Post by Graf Zahl »

fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”