1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

stfu dumb msvc analyzer

This commit is contained in:
fgenesis 2023-09-14 01:17:11 +02:00
parent 960bd90fc8
commit e253069509

View file

@ -86,7 +86,7 @@ const char *EnumName(Layers lr)
{ {
compile_assert(Countof(s_LayerNames) == LR_MAX); compile_assert(Countof(s_LayerNames) == LR_MAX);
return lr < LR_MAX ? s_LayerNames[lr] : NULL; return lr < Countof(s_LayerNames) ? s_LayerNames[lr] : NULL;
} }
const char *s_AquariaActionNames_0[ACTION_MAX] = const char *s_AquariaActionNames_0[ACTION_MAX] =