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

Set maximum edicts to 2048 in liblist.gam #181

Closed SamVanheer closed 1 year ago

SamVanheer commented 1 year ago

Set the maximum number of edicts to 2048 in liblist.gam to make it easier for modders to use more entities in a map.

Note that this could cause crashes since the actual limit is max_edicts + 15 * (maxplayers - 1). A safety check in the game's code may prevent this.

SamVanheer commented 1 year ago

This has been implemented along with a fix to prevent crashes (see #191).