crlib: fix uppercase un utf8tools.
This commit is contained in:
parent
a675c40927
commit
b10b3ef352
2 changed files with 3 additions and 3 deletions
|
|
@ -1129,7 +1129,7 @@ public:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result.uppercase ();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -304,7 +304,7 @@ bool Bot::isReplyingToChat () {
|
||||||
if (m_sayTextBuffer.timeNextChat < game.time () + rg.float_ (m_sayTextBuffer.chatDelay / 2, m_sayTextBuffer.chatDelay)) {
|
if (m_sayTextBuffer.timeNextChat < game.time () + rg.float_ (m_sayTextBuffer.chatDelay / 2, m_sayTextBuffer.chatDelay)) {
|
||||||
String replyText;
|
String replyText;
|
||||||
|
|
||||||
if (rg.chance (m_sayTextBuffer.chatProbability + rg.int_ (20, 50)) && checkChatKeywords (replyText)) {
|
if (rg.chance (m_sayTextBuffer.chatProbability + rg.int_ (40, 70)) && checkChatKeywords (replyText)) {
|
||||||
prepareChatMessage (replyText);
|
prepareChatMessage (replyText);
|
||||||
pushMsgQueue (BotMsg::Say);
|
pushMsgQueue (BotMsg::Say);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue