Skip to content

Commit

Permalink
Add center lab point to lab piece tracker to fix double lab entrance
Browse files Browse the repository at this point in the history
spawning.
  • Loading branch information
DanmakuDan committed Jan 22, 2016
1 parent 991ce56 commit f8e11a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/overmap.cpp
Expand Up @@ -2978,6 +2978,7 @@ bool overmap::build_lab( int x, int y, int z, int s, bool ice )
std::vector<point> generated_lab;
std::string labt = ice ? "ice_lab" : "lab";
ter( x, y, z ) = labt;
generated_lab.push_back( point( x, y ) );

// maintain a list of potential new lab maps
// grows outwards from previously placed lab maps
Expand Down

0 comments on commit f8e11a8

Please sign in to comment.