Skip to content

DropPlayerItem: Ensure HasPrimary flag assignation on successful weapon removal#866

Merged
s1lentq merged 1 commit intorehlds:masterfrom
dystopm:hasprimary_member_enhance
Oct 10, 2023
Merged

DropPlayerItem: Ensure HasPrimary flag assignation on successful weapon removal#866
s1lentq merged 1 commit intorehlds:masterfrom
dystopm:hasprimary_member_enhance

Conversation

@dystopm
Copy link
Contributor

@dystopm dystopm commented Sep 28, 2023

  • Ensuring m_bHasPrimary member assignation when dropping a primary weapon, you can have more than 1 weapon (in modded scenarios) and you can grab a shield by just dropping one weapon.
  • Ensuring m_bHasPrimary member assignation every time a weaponbox entity is successfully created (in modified scenarios)

@dystopm dystopm changed the title Ensure HasPrimary flag assignation on successful weapon removal DropPlayerItem: Ensure HasPrimary flag assignation on successful weapon removal Oct 9, 2023
@s1lentq s1lentq merged commit a2678a1 into rehlds:master Oct 10, 2023
@dystopm dystopm deleted the hasprimary_member_enhance branch October 11, 2023 15:00
Vaqtincha pushed a commit to Vaqtincha/ReGameDLL_CS that referenced this pull request Oct 25, 2023
yohimik pushed a commit to yohimik/ReGameDLL_CS that referenced this pull request Jun 5, 2025
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.

2 participants