revising everything

This commit is contained in:
Nikita Edel
2026-03-12 16:42:36 +01:00
parent 6cfc1efec2
commit 6d952e24f5
8 changed files with 24 additions and 20 deletions

View File

@@ -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 );