fix: increase maximum message length that can me shown on center of screen (resolves #322 )

This commit is contained in:
dmitry 2022-04-03 15:29:42 +03:00
commit e659495942
No known key found for this signature in database
GPG key ID: 8297CE728B7A7E37

View file

@ -242,7 +242,7 @@ template <typename ...Args> inline void BotControl::msg (const char *fmt, Args &
return; return;
} }
if (m_isFromConsole || strnlen (result, StringBuffer::StaticBufferSize) > 56 || m_rapidOutput) { if (m_isFromConsole || strnlen (result, StringBuffer::StaticBufferSize) > 96 || m_rapidOutput) {
if (m_rapidOutput) { if (m_rapidOutput) {
m_printQueue.emplaceLast (PrintQueueDestination::ClientConsole, result); m_printQueue.emplaceLast (PrintQueueDestination::ClientConsole, result);
} }