fix: typo in comment
This commit is contained in:
parent
5fddfed5ce
commit
5fcfb3df40
1 changed files with 1 additions and 1 deletions
|
|
@ -1170,7 +1170,7 @@ int Bot::pickBestWeapon (Array <int> &vec, int moneySave) {
|
|||
for (const auto &w : vec) {
|
||||
const auto &weapon = tab[w];
|
||||
|
||||
// if weaзщт have enough money for weapon buy it
|
||||
// if we have enough money for weapon, buy it
|
||||
if (weapon.price + moneySave < m_moneyAmount + rg.get (50, 200) && rg.chance (chance)) {
|
||||
return w;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue