Bobert13
Prince
- Joined
- Feb 25, 2013
- Messages
- 346
My random tinkering didn't seem to do much, and PWRand is not suffering from any problems that would require a pause after seeding. I still decided to purge the first random number generated but it probably isn't accomplishing anything.
ChangeLog:
-Changed how the average height around a river junction was getting determined.
-Removed local copy of elevationMap from riverMap. It wasn't necessary since elevationMap is Global and there were no changes being made to the local copy.
-Fixed and Optimized SiltifyLakes(). It should no longer be possible for a lake to be left behind.
-Raised the iteration limit of SiltifyLakes() to 10,000,000 and changed the error status to just log a message instead of crashing the map. It seriously should not be possible to hit anywhere near 10 million iterations without there being an infinite loop, seriously.

Edit: I have now uploaded my update to the Steam Workshop http://steamcommunity.com/sharedfiles/filedetails/?id=171848014&searchtext=
ChangeLog:
-Changed how the average height around a river junction was getting determined.
-Removed local copy of elevationMap from riverMap. It wasn't necessary since elevationMap is Global and there were no changes being made to the local copy.
-Fixed and Optimized SiltifyLakes(). It should no longer be possible for a lake to be left behind.
-Raised the iteration limit of SiltifyLakes() to 10,000,000 and changed the error status to just log a message instead of crashing the map. It seriously should not be possible to hit anywhere near 10 million iterations without there being an infinite loop, seriously.

Edit: I have now uploaded my update to the Steam Workshop http://steamcommunity.com/sharedfiles/filedetails/?id=171848014&searchtext=