03.10.2016, 12:09
No, that wouldn't work.
He could do that, but this way:
But the reason yours doesn't work, is because ServerInfo is an enum, and MaxAdminLevel is a part of it (an index)
He could do that, but this way:
Код:
#define MaxAdminLevel 5 if (level > MaxAdminLevel)