… | |
… | |
1892 | { |
1892 | { |
1893 | /* HIDDEN ENEMY. by definition, you can't see hidden stuff! |
1893 | /* HIDDEN ENEMY. by definition, you can't see hidden stuff! |
1894 | * However,if you carry any source of light, then the hidden |
1894 | * However,if you carry any source of light, then the hidden |
1895 | * creature is seeable (and stupid) */ |
1895 | * creature is seeable (and stupid) */ |
1896 | |
1896 | |
1897 | if (has_carried_lights (enemy)) |
1897 | if (enemy->has_carried_lights ()) |
1898 | { |
1898 | { |
1899 | if (enemy->flag [FLAG_HIDDEN]) |
1899 | if (enemy->flag [FLAG_HIDDEN]) |
1900 | { |
1900 | { |
1901 | make_visible (enemy); |
1901 | make_visible (enemy); |
1902 | new_draw_info (NDI_UNIQUE, 0, enemy, "Your light reveals your hiding spot!"); |
1902 | new_draw_info (NDI_UNIQUE, 0, enemy, "Your light reveals your hiding spot!"); |