… | |
… | |
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 | buf << (EXIT_PATH (op) == shstr_random_map_exit ? " (random map)" : " (exit)"); |
749 | if (EXIT_PATH (op) == shstr_random_map_exit) |
|
|
750 | buf << " (random map)"; |
|
|
751 | else if (!EXIT_PATH (op)) |
|
|
752 | buf << " (closed)"; |
750 | break; |
753 | break; |
751 | |
754 | |
752 | default: |
755 | default: |
753 | 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))) |
754 | buf.printf (" %+d", op->magic); |
757 | buf.printf (" %+d", op->magic); |