Skip to content

Commit

Permalink
Avoid const params in declarations (#78350)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Dec 6, 2024
1 parent 14273a4 commit c422020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ class vehicle

// initializes parts and fuel state for randomly generated vehicle and calls refresh()
void init_state( map &placed_on, int init_veh_fuel, int init_veh_status,
const bool force_status = false );
bool force_status = false );

// damages all parts of a vehicle by a random amount
void smash( map &m, float hp_percent_loss_min = 0.1f, float hp_percent_loss_max = 1.2f,
Expand Down

0 comments on commit c422020

Please sign in to comment.