Skip to content
Permalink
Browse files

Fix lightgrey contamination causing backlit (Leszczynek)

  • Loading branch information...
semitonal committed Oct 10, 2016
1 parent 3228ea0 commit c11d9220a9503bf79b566af85956e689e295d212
Showing with 5 additions and 5 deletions.
  1. +5 −5 crawl-ref/source/player.cc
@@ -7171,11 +7171,11 @@ bool player::visible_to(const actor *looker) const
*/
bool player::backlit(bool self_halo) const
{
return get_contamination_level() > 1
|| duration[DUR_CORONA]
|| duration[DUR_LIQUID_FLAMES]
|| duration[DUR_QUAD_DAMAGE]
|| !umbraed() && haloed() && (self_halo || halo_radius() == -1);
return player_severe_contamination()
|| duration[DUR_CORONA]
|| duration[DUR_LIQUID_FLAMES]
|| duration[DUR_QUAD_DAMAGE]
|| !umbraed() && haloed() && (self_halo || halo_radius() == -1);
}

bool player::umbra() const

0 comments on commit c11d922

Please sign in to comment.
You can’t perform that action at this time.