Fix 32b8ec34f: Incorrect perm storage dump in debug window

Due to merge conflict resolution error
This commit is contained in:
Jonathan G Rennison 2024-07-18 17:02:47 +01:00
parent 0113bb1f64
commit 0d1e24b8fd

View File

@ -779,7 +779,7 @@ struct NewGRFInspectWindow : Window {
if (psa[j] != 0) last_non_blank = j + 1;
}
const uint psa_limit = (last_non_blank + 3) & ~3;
for (uint j = 0; j < psa_limit; j += 44) {
for (uint j = 0; j < psa_limit; j += 4) {
this->DrawString(r, i++, " %i: %i %i %i %i", j, psa[j], psa[j + 1], psa[j + 2], psa[j + 3]);
}
if (last_non_blank != (uint)psa.size()) {