Update SignTileEntity.cpp

This commit is contained in:
disintegrate 2026-03-04 18:28:14 +08:00
parent 547db5b46b
commit 69b359a841

View file

@ -170,7 +170,9 @@ void SignTileEntity::SetMessage(int iIndex,wstring &wsText)
if (wsText.length() > MAX_LINE_LENGTH) // MAX_LINE_LENGTH == 15
{
wsText = wsText.substr(0, MAX_LINE_LENGTH);
#ifndef _CONTENT_PACKAGE
OutputDebugStringW(L"Sign text truncated to 15 characters\n");
#endif
}
m_wsmessages[iIndex]=wsText;
}