fix(console): replace definitions

This commit is contained in:
phaneron 2023-08-16 18:18:01 -04:00
parent 47e8d94842
commit d6965d392e
2 changed files with 6 additions and 10 deletions

View file

@ -6,7 +6,7 @@
#include <storm/Hash.hpp>
#include <cstdint>
#define CONSOLE_REGISTER_LIST(category, list) RegisterConsoleCommandList(category, list, std::size(list))
#define CONSOLE_REGISTER_LIST(category, list) RegisterConsoleCommandList(category, list, sizeof(list) / sizeof(ConsoleCommandList))
#define CONSOLE_EXEC_BUFFER_SIZE 8192
#define CONSOLE_CMD_BUFFER_SIZE 1024