Fixed wrong angle/slopes being used and one too many &s for NOINTERACT.

This commit is contained in:
MajorCooke 2016-06-22 19:34:14 -05:00 committed by Christoph Oelckers
commit 02064437c5
2 changed files with 3 additions and 3 deletions

View file

@ -4096,7 +4096,7 @@ static ETraceStatus CheckForActor(FTraceResults &res, void *userdata)
AActor *P_LineAttack(AActor *t1, DAngle angle, double distance,
DAngle pitch, int damage, FName damageType, PClassActor *pufftype, int flags, FTranslatedLineTarget*victim, int *actualdamage)
{
bool nointeract = !!(flags && LAF_NOINTERACT);
bool nointeract = !!(flags & LAF_NOINTERACT);
DVector3 direction;
double shootz;
FTraceResults trace;