Skip to content

Commit

Permalink
Merge pull request #47846 from Jamuro-g/Fix-fuel-bunker
Browse files Browse the repository at this point in the history
fix allow fuel bunker to use all ammo of charcoal type
  • Loading branch information
Rivet-the-Zombie authored Mar 3, 2021
2 parents ebd48a0 + 60ac83b commit fa86903
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/veh_interact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,10 @@ void veh_interact::do_refill()
msg = _( "You cannot recharge a vehicle battery with handheld batteries" );
return false;
}
//check base item for fuel_stores that can take multiple types of ammunition (like the fuel_bunker)
if( pt.get_base().is_reloadable_with( obj.typeId() ) ) {
return true;
}
return can_reload;
}
return false;
Expand Down

0 comments on commit fa86903

Please sign in to comment.