Skip to content

Commit

Permalink
Restore previous bounds for tinymaps.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade committed Jan 25, 2019
1 parent 407494e commit 7ea5c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7240,8 +7240,8 @@ bool map::inbounds( const tripoint &p ) const

bool tinymap::inbounds( const tripoint &p ) const
{
constexpr tripoint map_boundary_min( tripoint_zero );
constexpr tripoint map_boundary_max( SEEY * 2, SEEX * 2, 0 );
constexpr tripoint map_boundary_min( 0, 0, -OVERMAP_DEPTH );
constexpr tripoint map_boundary_max( SEEY * 2, SEEX * 2, OVERMAP_HEIGHT );
constexpr tripoint map_clearance_min( tripoint_zero );
constexpr tripoint map_clearance_max( 1, 1, 0 );

Expand Down

0 comments on commit 7ea5c49

Please sign in to comment.