diff options
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 07736e93ce..08ef886a18 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -2069,9 +2069,8 @@ static bool _find_monster( const coord_def& where, int mode, bool need_path, if (mon->friendly()) return (false); - // Don't target zero xp monsters, unless target_zero_exp is set. - return (Options.target_zero_exp - || !mons_class_flag(mon->type, M_NO_EXP_GAIN)); + // Don't target zero xp monsters. + return (!mons_class_flag(mon->type, M_NO_EXP_GAIN)); } static bool _find_feature( const coord_def& where, int mode, @@ -2172,9 +2171,6 @@ bool in_los_bounds(const coord_def& p) // Returns 1 if it found something, zero otherwise. If direction // is -1, goes backwards. // -// If the game option target_zero_exp is true, zero experience -// monsters will be targeted. -// //--------------------------------------------------------------- static char _find_square( const coord_def& where, coord_def &mfp, int direction, |