From 7f9c98aef14bfc8769aca573af378ea3e637bfa8 Mon Sep 17 00:00:00 2001 From: dmitry Date: Sat, 27 Jun 2020 12:54:59 +0300 Subject: [PATCH] fix: typo fixed (#137) --- ext/crlib/cr-basic.h | 2 +- src/control.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;