fix: center-screen messages not appearing (fix: #446)

fix: crash when creating too much threads
refactor: fix typos in comments in headers
This commit is contained in:
jeefo 2023-05-12 22:12:22 +03:00
commit 7f4d4748fa
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
22 changed files with 105 additions and 99 deletions

View file

@ -122,7 +122,7 @@ public:
// fix weapon prices (ie for elite)
void adjustWeaponPrices ();
// find weapon info by weaponi d
// find weapon info by weapon id
WeaponInfo &findWeaponById (int id);
// translates bot message into needed language
@ -139,7 +139,7 @@ private:
return line.substr (0, 1).findFirstOf ("#/;") != String::InvalidIndex;
};
// hash the lang string, only the letters
// hash the language string, only the letters
uint32_t hashLangString (StringRef str);
public: