Merge branch 'master' into chatter-fixes-and-improvements

This commit is contained in:
Владислав Сухов 2024-05-08 04:19:37 +00:00
commit 332a962ad4
6 changed files with 15 additions and 12 deletions

View file

@ -227,7 +227,7 @@ void MessageDispatcher::netMsgMoney () {
if (amount < 0) {
amount = 800;
}
else if (amount > INT32_MAX) {
else if (amount >= INT32_MAX) {
amount = 16000;
}
m_bot->m_moneyAmount = amount;