Merged branch 'demo_system'.
# Conflicts: # src/client/component/party.cpp # src/client/game/symbols.hpp
This commit is contained in:
@@ -194,7 +194,7 @@ namespace command
|
||||
|
||||
void add_raw(const char* name, void (*callback)())
|
||||
{
|
||||
game::Cmd_AddCommandInternal(name, callback, utils::memory::get_allocator()->allocate<game::cmd_function_s>());
|
||||
game::Cmd_AddCommandInternal(name, callback, utils::memory::get_allocator()->allocate<game::cmd_function_t>());
|
||||
}
|
||||
|
||||
void add(const char* name, const std::function<void(const params&)>& callback)
|
||||
@@ -321,7 +321,7 @@ namespace command
|
||||
}
|
||||
|
||||
console::info("================================ COMMAND DUMP =====================================\n");
|
||||
game::cmd_function_s* cmd = *game::cmd_functions;
|
||||
game::cmd_function_t* cmd = *game::cmd_functions;
|
||||
auto i = 0;
|
||||
while (cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user