Fixed a bug in CheckWeaponAmmoCost (from Mr.Stalin)

It caused NPCs to not switch to other weapons when there is not enough
ammo to shoot.
Moved CheckWeaponAmmoCost code from Inventory.cpp to Combat.cpp.
Now the debug editor starts at the center of the screen.
Updated the previous fix in NPC combat control mod.
This commit is contained in:
NovaRain
2019-04-07 10:59:02 +08:00
parent d946850af4
commit 143f6895a4
6 changed files with 91 additions and 69 deletions
Binary file not shown.