- Duke: Fix auto-aiming issues for shotgun and chaingun.

Fixes #98.
This commit is contained in:
Mitchell Richters 2020-10-02 17:05:50 +10:00
parent 49642c3b3c
commit 43e447d40b

View file

@ -468,7 +468,7 @@ void shoot_d(int i, int atwith)
}
zvel += (zRange / 2) - (krand() & (zRange - 1));
}
else if (j == -1 || atwith != SHOTSPARK1)
else if (j == -1)
{
sa += 16 - (krand() & 31);
zvel = (IntToFixed(100) - ps[p].getq16horizsum()) >> 11;