Closed j-palomo closed 8 years ago
The only changes I see here are the flags being renamed, you may have forgotten to push all of your changes (your pull request description implies more changes)
See here:
enum
{
// PAF_FORCETID,
// PAF_RETURNTID
PICKAF_FORCETID = 1,
PICKAF_RETURNTID = 2,
};
This enumeration (commented out) didn't have any numbers defined for the values. As a result, PAF_FORCETID = 0
, and PAF_RETURNTID = 1
. Obviously, this is an issue because...
#define PAF_FORCETID 1
#define PAF_RETURNTID 2
The flags never worked as intended. In the worst case, if you used the argument as it previously was (boolean forcetid), using a value of false will actually set the PAF_FORCETID flag.
Ah, okay, didn't pick up on that
The new PickActor flags were broken, and didn't work as intended. Not only that, but it broke backwards compatibility with the old argument. I've fixed all of that. I also renamed the flags to avoid confusion with the A_PainAttack flags.