mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 09:20:51 +00:00
- 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:
parent
478f20b845
commit
bbc60e8424
1 changed files with 1 additions and 1 deletions
|
@ -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]--;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue