Fix 32b8ec34f
: Incorrect perm storage dump in debug window
Due to merge conflict resolution error
This commit is contained in:
@@ -779,7 +779,7 @@ struct NewGRFInspectWindow : Window {
|
|||||||
if (psa[j] != 0) last_non_blank = j + 1;
|
if (psa[j] != 0) last_non_blank = j + 1;
|
||||||
}
|
}
|
||||||
const uint psa_limit = (last_non_blank + 3) & ~3;
|
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]);
|
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()) {
|
if (last_non_blank != (uint)psa.size()) {
|
||||||
|
Reference in New Issue
Block a user