Skip to content

Commit

Permalink
Update point code in point.h, basecamp.h
Browse files Browse the repository at this point in the history
Doing headers separately to avoid edit collisions.
  • Loading branch information
jbytheway committed Jun 11, 2020
1 parent 5e7be06 commit ee81e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/basecamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ extern const std::map<point, direction_data> all_directions;

point direction_from_id( const std::string &id );

const point base_dir = point_zero;
const point base_dir;
const std::string prefix = "faction_base_";
const std::string id = "FACTION_CAMP";
const int prefix_len = 13;
Expand Down
2 changes: 1 addition & 1 deletion src/point.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ struct box {
}
};

static constexpr tripoint tripoint_zero { 0, 0, 0 };
static constexpr tripoint tripoint_zero;
static constexpr point point_zero{ tripoint_zero.xy() };

static constexpr point point_north{ 0, -1 };
Expand Down

0 comments on commit ee81e86

Please sign in to comment.