Clever-Boy / entityplus

Automatically exported from code.google.com/p/entityplus
1 stars 0 forks source link

Ammo doesn't decrease when above 999 #170

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reproduce:
1 - Pick up MG with 999 ammo (count = 999)
2 - Die.
3 - Pick up another MG with 999 ammo.
4 - Pick up backpack.
5 - Shoot: ammo won't decrease anymore.

Original issue reported on code.google.com by era...@gmail.com on 9 May 2013 at 9:03

GoogleCodeExporter commented 9 years ago
Picking up backpack pushed ammo count beyond 999. Ammo counter doesn't go 
beyond 999 so it looked like no ammo was subtracted. Fixed this by preventing 
backpack from pushing ammo counts beyond 999. Ammo boxes already did this.

Original comment by era...@gmail.com on 10 May 2013 at 5:49

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r735.

Original comment by era...@gmail.com on 10 May 2013 at 5:50