Skip to content

Commit

Permalink
Merge pull request #39761 from Thorondir/car_door_drag_fix
Browse files Browse the repository at this point in the history
Fixed bug where the air drag coefficient of a vehicle isn't updated when doors are opened/closed
  • Loading branch information
ZhilkinSerg authored Apr 21, 2020
2 parents 8f50e88 + a3e2e7f commit 2d89311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vehicle_use.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,7 @@ void vehicle::open_or_close( const int part_index, const bool opening )
}

coeff_air_changed = true;
coeff_air_dirty = true;
}

void vehicle::use_autoclave( int p )
Expand Down

0 comments on commit 2d89311

Please sign in to comment.