fix: typo fixed (#137)
This commit is contained in:
parent
5d1bc34563
commit
7f9c98aef1
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue