… | |
… | |
744 | } |
744 | } |
745 | break; |
745 | break; |
746 | |
746 | |
747 | case EXIT: |
747 | case EXIT: |
748 | // random map exits "unfortunately" get patched, so this only works before entering |
748 | // random map exits "unfortunately" get patched, so this only works before entering |
|
|
749 | if (EXIT_PATH (op) == shstr_random_map_exit) |
|
|
750 | buf << " (random map)"; |
749 | if (EXIT_PATH (op)) |
751 | else if (!EXIT_PATH (op)) |
750 | buf << (EXIT_PATH (op) == shstr_random_map_exit ? " (random map)" : " (entry)"); |
752 | buf << " (closed)"; |
751 | break; |
753 | break; |
752 | |
754 | |
753 | default: |
755 | default: |
754 | if (op->magic && ((QUERY_FLAG (op, FLAG_BEEN_APPLIED) && need_identify (op)) || QUERY_FLAG (op, FLAG_IDENTIFIED))) |
756 | if (op->magic && ((QUERY_FLAG (op, FLAG_BEEN_APPLIED) && need_identify (op)) || QUERY_FLAG (op, FLAG_IDENTIFIED))) |
755 | buf.printf (" %+d", op->magic); |
757 | buf.printf (" %+d", op->magic); |