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:
parent
960bd90fc8
commit
e253069509
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ const char *EnumName(Layers lr)
|
|||
{
|
||||
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] =
|
||||
|
|
Loading…
Reference in a new issue