Skip to content

Commit

Permalink
Fix debug message in the debug mapgen menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrox committed Dec 22, 2019
1 parent 1ccb6a8 commit 00752da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1949,8 +1949,9 @@ void editmap::edit_mapgen()
*/
void editmap::cleartmpmap( tinymap &tmpmap )
{
for( auto &smap : tmpmap.grid ) {
for( submap *&smap : tmpmap.grid ) {
delete smap;
smap = nullptr;
}

auto &ch = tmpmap.get_cache( target.z );
Expand Down

0 comments on commit 00752da

Please sign in to comment.