Mistrick / MapManagerModular

29 stars 23 forks source link

Transfer MAX_VOTELIST_SIZE to map_manager_consts.inc #3

Closed d3m37r4 closed 2 years ago

d3m37r4 commented 6 years ago

Will be useful for future plugins, for example: admin maps menu...

Mistrick commented 6 years ago

This const only for using in core. not for API. Plugins should use mapm_get_votelist_size()

d3m37r4 commented 6 years ago

Nevertheless, for some constructions this cons is required. For example, for dimensionality of an array with voting maps, so as not to use a dynamic array.