fix Ep3 map formatting bug

This commit is contained in:
Martin Michelsen
2024-03-12 19:37:47 -07:00
parent 0f1fbb1069
commit eb132f38d2
+1 -1
View File
@@ -1723,7 +1723,7 @@ string MapDefinition::str(const CardIndex* card_index, uint8_t language) const {
auto add_map = [&](const parray<parray<uint8_t, 0x10>, 0x10>& tiles) {
for (size_t y = 0; y < this->height; y++) {
string line = " ";
for (size_t x = 0; x < this->height; x++) {
for (size_t x = 0; x < this->width; x++) {
line += string_printf(" %02hhX", tiles[y][x]);
}
lines.emplace_back(std::move(line));