twhl-community / halflife-updated

Half-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.
Other
382 stars 146 forks source link

Add support for adding 64 weapons #98

Closed SamVanheer closed 2 years ago

SamVanheer commented 2 years ago

Add support for adding up to 64 weapons to the game.

In addition to the code changes, delta.lst needs to be updated to change this line for the clientdata_t structure:

DEFINE_DELTA( m_iId, DT_INTEGER, 5, 1.0 ),

To this:

DEFINE_DELTA( m_iId, DT_INTEGER, 6, 1.0 ),