- Duke: Ensure tripbomb's ammo_count decrements with use.

* Note: Unsure whether `isWW2GI()` was meant to be inversed but do not believe so. Have removed check for now.
* Fixes #104.
This commit is contained in:
Mitchell Richters 2020-10-06 16:31:28 +11:00
parent 478f20b845
commit bbc60e8424

View file

@ -961,7 +961,7 @@ void shoot_d(int i, int atwith)
sprite[k].cstat = 16;
hittype[k].temp_data[5] = sprite[k].ang = getangle(wall[hitwall].x - wall[wall[hitwall].point2].x, wall[hitwall].y - wall[wall[hitwall].point2].y) - 512;
if (isWW2GI() && p >= 0)
if (p >= 0)
ps[p].ammo_amount[TRIPBOMB_WEAPON]--;
}