Use fixed-width language IDs in sign rendering

This commit is contained in:
notmatthewbeshay 2026-03-11 07:27:53 +11:00
parent 9d41d3c359
commit 1bf50e2549

View file

@ -63,7 +63,7 @@ void SignRenderer::render(std::shared_ptr<TileEntity> _sign, double x, double y,
std::wstring msg;
// need to send the new data
// Get the current language setting from the console
DWORD dwLanguage = XGetLanguage( );
std::uint32_t dwLanguage = XGetLanguage( );
for (int i = 0; i < MAX_SIGN_LINES; i++) // 4J - was sign.messages.length
{