Skip to content

Commit

Permalink
Removed completely unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Dec 20, 2024
1 parent af25843 commit 60af4a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/clzones.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,7 @@ void zone_manager::add( const std::string &name, const zone_type_id &type, const

void zone_manager::add( const std::string &name, const zone_type_id &type, const faction_id &fac,
const bool invert, const bool enabled, const tripoint_rel_ms &start,
const tripoint_rel_ms &end, const shared_ptr_fast<zone_options> &options,
bool silent, map *pmap )
const tripoint_rel_ms &end, const shared_ptr_fast<zone_options> &options )
{
zone_data new_zone = zone_data( name, type, fac, invert, enabled, start, end, options );

Expand Down
3 changes: 1 addition & 2 deletions src/clzones.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,7 @@ class zone_manager
void add( const std::string &name, const zone_type_id &type, const faction_id &faction,
bool invert, bool enabled,
const tripoint_rel_ms &start, const tripoint_rel_ms &end,
const shared_ptr_fast<zone_options> &options = nullptr,
bool silent = false, map *pmap = nullptr );
const shared_ptr_fast<zone_options> &options = nullptr );

// get first matching zone
const zone_data *get_zone_at( const tripoint_abs_ms &where, const zone_type_id &type,
Expand Down

0 comments on commit 60af4a4

Please sign in to comment.