Open Vince0789 opened 11 months ago
This sounds stupid, because why would anyone create an array size 1? But do consider the example below that keeps things open for extension without requiring significant changes in code.
enum E_COMPETENCE { E_COMPETENCE_PICKPOCKET, } static Float:gs_CompetencePointBase[E_COMPETENCE] = {5.0, ...};
Adding another entry to the enum or removing the progressive initializer resolves the problem.
Issue description:
This sounds stupid, because why would anyone create an array size 1? But do consider the example below that keeps things open for extension without requiring significant changes in code.
Minimal complete verifiable example (MCVE):
Adding another entry to the enum or removing the progressive initializer resolves the problem.
Workspace Information: