Skip to content

Commit

Permalink
Wait, that looks intended...
Browse files Browse the repository at this point in the history
  • Loading branch information
Coolthulhu committed Jun 10, 2016
1 parent 8a6aae7 commit 8007d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ bool Creature::sees( const tripoint &t, bool is_player ) const
return false;
}

const int range_cur = sight_range( g->m.ambient_light_at( pos() ) );
const int range_cur = sight_range( g->m.ambient_light_at( t ) );
const int range_day = sight_range( DAYLIGHT_LEVEL );
const int range_night = sight_range( 0 );
const int range_max = std::max( range_day, range_night );
Expand Down

0 comments on commit 8007d2d

Please sign in to comment.