bot: some fixes to radio handling (ref #560)
This commit is contained in:
parent
009bdf2f3e
commit
6663cdab7b
4 changed files with 12 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue