Open
Description
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):
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.
Workspace Information:
- Compiler version: 3.10.10
- Command line arguments provided (or sampctl version): sampctl 1.11.3
- Operating System: Windows 10 Pro 22H2 Build 19045.3448
Metadata
Metadata
Assignees
Labels
No labels