fix a botl status display issue

Reported as #H8609 (1679)

Some code recently added to render_status() for BL_CONDITION:
    if (!tty_condition_bits)
        continue;
was short-circuiting the required copy of NOW
values to BEFORE values for later comparison
further down in the for-loop.
    tty_status[BEFORE][idx] = tty_status[NOW][idx];

This caused some fields to be bypassed for rendering
once no more tty_condition_bits were set because the
length comparisons would match.
This commit is contained in:
nhmall
2019-05-19 23:35:21 -04:00
parent 46d85db233
commit e653868833
2 changed files with 2 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ when examining the map with '/' or ';', picking a symbol which is used for
billing and payment issue as a result of glob coalescing
glob pricing did not consider weight properly
glob shop interaction improved to handle more of the expected scenarios
remove the for-loop short circuit in render_status() that was preventing
the copy of BL_CONDITION tty_status values from NOW to BEFORE
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository

View File

@@ -4345,8 +4345,6 @@ render_status(VOID_ARGS)
* | Condition Codes |
* +-----------------+
*/
if (!tty_condition_bits)
continue;
if (num_rows == 3) {
int k;
char *dat = &cw->data[y][0];