Skip to content

Commit

Permalink
demanded change
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Jan 20, 2025
1 parent a2e64c2 commit 5ae9fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/magic_spell_effect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ static std::set<tripoint_bub_ms> spell_effect_cone_range_override(
tripoint potential;
calc_ray_end( angle, range, source.raw(), potential );
if( params.ignore_walls ) {
targets.emplace( tripoint_bub_ms( potential ) );
targets.emplace( potential );
} else {
end_points.emplace( tripoint_bub_ms( potential ) );
end_points.emplace( potential );
}
}
}
Expand Down

0 comments on commit 5ae9fe6

Please sign in to comment.