diff options
author | archshift <admin@archshift.com> | 2014-06-19 10:49:56 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-19 10:49:56 +0200 |
commit | e8143de01bff31f9e153949d7ab5b0df82629541 (patch) | |
tree | d6a37e6433f973765c8ca63e408dbbd420b08d70 /src/Noise.cpp | |
parent | Merge pull request #1096 from mc-server/redstonerefactor (diff) | |
download | cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.tar cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.tar.gz cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.tar.bz2 cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.tar.lz cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.tar.xz cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.tar.zst cuberite-e8143de01bff31f9e153949d7ab5b0df82629541.zip |
Diffstat (limited to 'src/Noise.cpp')
-rw-r--r-- | src/Noise.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Noise.cpp b/src/Noise.cpp index 040421106..fbd2a1800 100644 --- a/src/Noise.cpp +++ b/src/Noise.cpp @@ -877,6 +877,7 @@ void cPerlinNoise::Generate2D( if (ShouldFreeWorkspace) { delete[] a_Workspace; + a_Workspace = NULL; } } @@ -943,6 +944,7 @@ void cPerlinNoise::Generate3D( if (ShouldFreeWorkspace) { delete[] a_Workspace; + a_Workspace = NULL; } } @@ -1045,6 +1047,7 @@ void cRidgedMultiNoise::Generate2D( if (ShouldFreeWorkspace) { delete[] a_Workspace; + a_Workspace = NULL; } } @@ -1111,6 +1114,7 @@ void cRidgedMultiNoise::Generate3D( if (ShouldFreeWorkspace) { delete[] a_Workspace; + a_Workspace = NULL; } } |