Skip to content

Commit

Permalink
Fix clang-tidy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
BevapDin committed Sep 27, 2019
1 parent 6dffe13 commit c5bfb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/explosion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static std::vector<tripoint> shrapnel( const tripoint &src, int power,
// Need to update shadowcasting to support limiting range without adjusting initial distance.
const tripoint_range area = g->m.points_on_zlevel( src.z );

g->m.build_obstacle_cache( area.min(), area.max() + tripoint( 1, 1, 0 ), obstacle_cache );
g->m.build_obstacle_cache( area.min(), area.max() + tripoint_south_east, obstacle_cache );

// Shadowcasting normally ignores the origin square,
// so apply it manually to catch monsters standing on the explosive.
Expand Down

0 comments on commit c5bfb14

Please sign in to comment.