Skip to content

Commit

Permalink
Fix lightgrey contamination causing backlit (Leszczynek)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Campbell committed Oct 10, 2016
1 parent 3228ea0 commit c11d922
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crawl-ref/source/player.cc
Expand Up @@ -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
Expand Down

0 comments on commit c11d922

Please sign in to comment.