mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-26 19:15:35 +00:00
revising everything
This commit is contained in:
@@ -1230,6 +1230,7 @@ bool ConsoleSaveFileSplit::GetNumericIdentifierFromName(const std::wstring &file
|
||||
swscanf_s(body, L"%d.%d.mcr", &x, &z );
|
||||
|
||||
// Pack full id
|
||||
// 4jcraft added cast to unsigned
|
||||
id |= ( ( (unsigned int) x << 8 ) & 0x0000ff00 );
|
||||
id |= ( z & 0x000000ff );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user