diff --git a/documentation/changeLog.txt b/documentation/changeLog.txt index deedd2fc7..ad4e049b8 100644 --- a/documentation/changeLog.txt +++ b/documentation/changeLog.txt @@ -64,6 +64,10 @@ Server Fixes --Fixed disappearing springs caused by map cache not being aware of grid placement status. Fixes #319 +--Trees and other permanent objects regrowing destroy sections of underlying + roads in natural reclamation. However, surface non-permanent natural objects + (stones, iron, etc.) will re-occur on top of the road. Fixes #334 + Version 238 2019-June-8 diff --git a/server/map.cpp b/server/map.cpp index ac11f3bed..86d177ade 100644 --- a/server/map.cpp +++ b/server/map.cpp @@ -7855,6 +7855,16 @@ void stepMapLongTermCulling( int inNumCurrentPlayers ) { // put proc-genned map value in there setMapObject( x, y, wildTile ); + + if( wildTile != 0 && + getObject( wildTile )->permanent ) { + // something nautural occurs here + // this "breaks" any remaining floor + // (which may be cull-proof on its own below). + // this will effectively leave gaps in roads + // with trees growing through, etc. + setMapFloor( x, y, 0 ); + } } } }