Skip to content

Conversation

@AdamTadeusz
Copy link
Contributor

Description

Hopefully fixes the problem with spectators having guns. Copies CBaseCombatCharacter::Weapon_DropAll 's mechanic of dropping the active weapon last, also removes any weapons that cannot be dropped (currently only the knife, actually can be dropped in the original, perhaps should revert this change?)

Toolchain

  • Windows MSVC VS2022

@AdamTadeusz AdamTadeusz requested a review from a team August 22, 2025 12:29
@sunzenshen sunzenshen requested a review from a team August 24, 2025 03:38
@AdamTadeusz AdamTadeusz requested a review from sunzenshen August 24, 2025 10:46
@AdamTadeusz
Copy link
Contributor Author

good spot, also I just realised invmass stands for inverted mass, should make more sense now

@AdamTadeusz AdamTadeusz merged commit 212b2a9 into NeotokyoRebuild:master Aug 24, 2025
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 271_weaponDropRefactor branch August 24, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants