mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
parent
553c436697
commit
547db5b46b
|
|
@ -170,6 +170,7 @@ void SignTileEntity::SetMessage(int iIndex,wstring &wsText)
|
||||||
if (wsText.length() > MAX_LINE_LENGTH) // MAX_LINE_LENGTH == 15
|
if (wsText.length() > MAX_LINE_LENGTH) // MAX_LINE_LENGTH == 15
|
||||||
{
|
{
|
||||||
wsText = wsText.substr(0, MAX_LINE_LENGTH);
|
wsText = wsText.substr(0, MAX_LINE_LENGTH);
|
||||||
|
OutputDebugStringW(L"Sign text truncated to 15 characters\n");
|
||||||
}
|
}
|
||||||
m_wsmessages[iIndex]=wsText;
|
m_wsmessages[iIndex]=wsText;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue