diff --git a/ext/crlib/cr-basic.h b/ext/crlib/cr-basic.h index ec79595..c9fa414 100644 --- a/ext/crlib/cr-basic.h +++ b/ext/crlib/cr-basic.h @@ -127,7 +127,7 @@ public: // exposes global variable from class singleton #define CR_EXPOSE_GLOBAL_SINGLETON(className, variable) \ - static auto &variable = className::instance () \ + static auto &variable { className::instance () } \ CR_NAMESPACE_END diff --git a/src/control.cpp b/src/control.cpp index 6c0af6e..afcccf2 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -129,7 +129,7 @@ int BotControl::cmdWeaponMode () { } HashMap modes; - modes["kinfe"] = 1; + modes["knife"] = 1; modes["pistol"] = 2; modes["shotgun"] = 3; modes["smg"] = 4;