Fix compile errors
This commit is contained in:
parent
3d4233c739
commit
2ff71cfca5
@ -430,7 +430,7 @@ void Schema_Reload()
|
|||||||
logging::Info("Loading %s", ret ? "Successful" : "Unsuccessful");
|
logging::Info("Loading %s", ret ? "Successful" : "Unsuccessful");
|
||||||
}
|
}
|
||||||
CatCommand schema("schema", "Load custom schema", Schema_Reload);
|
CatCommand schema("schema", "Load custom schema", Schema_Reload);
|
||||||
|
*/
|
||||||
CatCommand name("name_set", "Immediate name change", [](const CCommand &args) {
|
CatCommand name("name_set", "Immediate name change", [](const CCommand &args) {
|
||||||
if (args.ArgC() < 2)
|
if (args.ArgC() < 2)
|
||||||
{
|
{
|
||||||
|
@ -436,7 +436,7 @@ static void updateSlot()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static InitRoutine runinit([]() { EC::Register<EC::CreateMove>(CreateMove, "navbot", EC::early); });
|
static InitRoutine runinit([]() { EC::Register(EC::CreateMove, CreateMove, "navbot", EC::early); });
|
||||||
|
|
||||||
void change(settings::VariableBase<bool> &, bool)
|
void change(settings::VariableBase<bool> &, bool)
|
||||||
{
|
{
|
||||||
|
@ -649,9 +649,9 @@ static void drawcrumbs()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static InitRoutine runinit([]() {
|
static InitRoutine runinit([]() {
|
||||||
EC::Register<EC::CreateMove>(cm, "cm_navparser", EC::average);
|
EC::Register(EC::CreateMove, cm, "cm_navparser", EC::average);
|
||||||
#if ENABLE_VISUALS
|
#if ENABLE_VISUALS
|
||||||
EC::Register<EC::Draw>(drawcrumbs, "draw_navparser", EC::average);
|
EC::Register(EC::Draw, drawcrumbs, "draw_navparser", EC::average);
|
||||||
#endif
|
#endif
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -63,10 +63,6 @@ double getRandom(double lower_bound, double upper_bound)
|
|||||||
|
|
||||||
void DrawCheatVisuals()
|
void DrawCheatVisuals()
|
||||||
{
|
{
|
||||||
{
|
|
||||||
PROF_SECTION(DRAW_misc);
|
|
||||||
hacks::shared::misc::DrawText();
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
PROF_SECTION(DRAW_info);
|
PROF_SECTION(DRAW_info);
|
||||||
std::string name_s, reason_s;
|
std::string name_s, reason_s;
|
||||||
|
Reference in New Issue
Block a user