fix: typo fixed (#137)

This commit is contained in:
dmitry 2020-06-27 12:54:59 +03:00
commit 7f9c98aef1
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ public:
// exposes global variable from class singleton // exposes global variable from class singleton
#define CR_EXPOSE_GLOBAL_SINGLETON(className, variable) \ #define CR_EXPOSE_GLOBAL_SINGLETON(className, variable) \
static auto &variable = className::instance () \ static auto &variable { className::instance () } \
CR_NAMESPACE_END CR_NAMESPACE_END

View file

@ -129,7 +129,7 @@ int BotControl::cmdWeaponMode () {
} }
HashMap <String, int> modes; HashMap <String, int> modes;
modes["kinfe"] = 1; modes["knife"] = 1;
modes["pistol"] = 2; modes["pistol"] = 2;
modes["shotgun"] = 3; modes["shotgun"] = 3;
modes["smg"] = 4; modes["smg"] = 4;