… | |
… | |
1853 | * Change the color so that the message doesn't disappear with |
1853 | * Change the color so that the message doesn't disappear with |
1854 | * all the others. |
1854 | * all the others. |
1855 | */ |
1855 | */ |
1856 | if (pl->contr->usekeys == key_inventory || |
1856 | if (pl->contr->usekeys == key_inventory || |
1857 | !QUERY_FLAG (container, FLAG_APPLIED) || |
1857 | !QUERY_FLAG (container, FLAG_APPLIED) || |
1858 | (pl->contr->usekeys == keyrings && (!container->race || strcmp (container->race, "keys")))) |
1858 | (pl->contr->usekeys == keyrings && container->race != shstr_keys)) |
1859 | { |
1859 | { |
1860 | new_draw_info_format (NDI_UNIQUE | NDI_BROWN, 0, pl, |
1860 | new_draw_info_format (NDI_UNIQUE | NDI_BROWN, 0, pl, |
1861 | "The %s in your %s vibrates as you approach the door", query_name (tmp), query_name (container)); |
1861 | "The %s in your %s vibrates as you approach the door", query_name (tmp), query_name (container)); |
1862 | return NULL; |
1862 | return NULL; |
1863 | } |
1863 | } |