diff --git a/src/saland/GameRegion.cpp b/src/saland/GameRegion.cpp index 93b97d0..37a42c2 100644 --- a/src/saland/GameRegion.cpp +++ b/src/saland/GameRegion.cpp @@ -155,8 +155,10 @@ const int LAKE_HEIGHT = 20; // height of the lake pattern const int LAKE_SIZE = 40; // maximum size of the lake const int LAKE_MIN_SIZE = 8; -static // function to generate a random lake pattern -std::vector> generateLakePattern() { +/** + * function to generate a random lake pattern + */ +static std::vector> generateLakePattern() { std::vector> pattern(LAKE_WIDTH, std::vector(LAKE_HEIGHT, 0)); // choose a random point in the pattern as the center of the lake