Skip to content

Commit

Permalink
and one more line to astyle
Browse files Browse the repository at this point in the history
  • Loading branch information
SariusSkelrets committed Nov 28, 2024
1 parent caea0b7 commit 711166a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ std::set<point_abs_ms> vehicle::immediate_path( const units::angle &rotate )
point_bub_ms top_left_actual = pos_bub().xy() + coord_translate( front_left );
point_bub_ms top_right_actual = pos_bub().xy() + coord_translate( front_right );
std::vector<point_abs_ms> front_row = line_to( here.getglobal( tripoint_bub_ms{top_left_actual.x(), top_left_actual.y(), here.get_abs_sub().z()} ).xy(),
here.getglobal( tripoint_bub_ms{top_right_actual.x(), top_right_actual.y(), here.get_abs_sub().z()} ).xy() );
here.getglobal( tripoint_bub_ms{ top_right_actual.x(), top_right_actual.y(), here.get_abs_sub().z()} ).xy() );
for( const point_abs_ms &elem : front_row ) {
for( int i = 0; i < distance_to_check; ++i ) {
collision_vector.advance( i );
Expand Down

0 comments on commit 711166a

Please sign in to comment.