Interrupt / Interrupt/systemshock
Weapon cheating is working incorrectly.
- Dominant language
- C
- Stars
- 900
- Forks
- 77
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 1
Description
As discovered in #360, cheating for weapons (`CTRL+2`) results in some problems. These problems are:
* Weapons obtained with cheating cannot be removed from the inventory.
* They use ammo clips of inappropriate type (see screenshot. Rail gun + Mag carts. What?)
* Sometimes it can crash the game (#265). It was fixed, but the fix affects normal gameplay (as reported in #360).

The code which causes problems is in `src/GameSrc/hkeyfunc.c` in `toggle_giveall_func()`.
Is there any ideas how to fix it?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.