Skip to content

Commit

Permalink
Remove unnecessary project
Browse files Browse the repository at this point in the history
Co-authored-by: ehughsbaird <[email protected]>
  • Loading branch information
Procyonae and ehughsbaird authored Oct 19, 2024
1 parent 829d7f6 commit b95fe0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1745,10 +1745,7 @@ conditional_t::func f_map_in_city( const JsonObject &jo, std::string_view member
target.evaluate( d ) ) ) );

// TODO: Remove this in favour of a seperate condition for location z-level that can be used in conjunction with this map_in_city as needed
point_abs_om overmap_pos;
tripoint_om_omt potential_city_tile;
std::tie( overmap_pos, potential_city_tile ) = project_remain<coords::om>( target_pos );
if( potential_city_tile.z() < -1 ) {
if( target_pos.z() < -1 ) {
return false;
}

Expand Down

0 comments on commit b95fe0c

Please sign in to comment.