mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
Use fixed-width language IDs in sign rendering
This commit is contained in:
parent
9d41d3c359
commit
1bf50e2549
|
|
@ -63,7 +63,7 @@ void SignRenderer::render(std::shared_ptr<TileEntity> _sign, double x, double y,
|
||||||
std::wstring msg;
|
std::wstring msg;
|
||||||
// need to send the new data
|
// need to send the new data
|
||||||
// Get the current language setting from the console
|
// 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
|
for (int i = 0; i < MAX_SIGN_LINES; i++) // 4J - was sign.messages.length
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue