Fast Projectiles are not reflected

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!

Fast Projectiles are not reflected

Postby Zan » Sat Jul 14, 2018 3:23 pm

Projectile actors who inherit : Fast Projectile do not seem to get reflected by actors who have +REFLECTIVE flag. Major Cooke said they shouldn't act like this, so I may have stumbled upon a bug.
I tried combining the +REFLECTIVE flag with +SHIELDREFLECT and +DEFLECT, and I get the same behavior, the fast projectile dies instead of being reflected like a normal projectile would.

Is it a bug or is it intended to work like this?
Thanks!
User avatar
Zan
 
Joined: 22 Oct 2016
Location: The depths of Hedon.
Discord: Zan#0149

Re: Fast Projectiles are not reflected

Postby Graf Zahl » Sat Jul 14, 2018 4:00 pm

The FastProjectile is lacking several checks in the regular movement code. This is not easily added without a lot of code duplication and performance impact.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Fast Projectiles are not reflected

Postby Ichor » Fri Jul 20, 2018 10:17 pm

This has been like this since the beginning. Try shooting the sapphire wand at a heresiarch with his shield up in Chocolate Hexen. You'd think it would bounce off, but no. It may not make the most sense logically, it's still expected behavior.
User avatar
Ichor
The fun cannot be halted
 
Joined: 23 Jul 2003


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest