Add case parameter to FormatArrayAsHex

Use upper case where needed for vanilla compatibility
This commit is contained in:
Jonathan G Rennison
2024-03-03 12:05:06 +00:00
parent 9d65fd9c2a
commit 1ba9806002
4 changed files with 10 additions and 6 deletions

View File

@@ -324,7 +324,7 @@ void SurveyGrfs(nlohmann::json &survey)
auto grfid = fmt::format("{:08x}", BSWAP32(c->ident.grfid));
auto &grf = survey[grfid];
grf["md5sum"] = FormatArrayAsHex(c->ident.md5sum);
grf["md5sum"] = FormatArrayAsHex(c->ident.md5sum, true);
grf["status"] = c->status;
if ((c->palette & GRFP_GRF_MASK) == GRFP_GRF_UNSET) grf["palette"] = "unset";