Interrupt / Interrupt/systemshock

Using Reload hotkey with weapons that don't have mags causes some memory corruption

Open
#384 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
900
Forks
77
Avg merge
2d 2h
Merged PRs (30d)
1

Description

If a weapon doesn't use ammo (such as melee weapons or beam weapons like the Sparq) it seems that random things will happen if the player uses the reload hotkey with it selected.

The reload sound plays, and then for example, with the Sparq Beam selected, STAMUP patches start disappearing from your inventory every time the reload hotkey is pressed. Other weapons have different effects. Maybe it's writing out of bounds on other memory areas due to undefined ammo.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.