aboutsummaryrefslogtreecommitdiff
path: root/src/noise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/noise.cpp')
-rw-r--r--src/noise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.cpp b/src/noise.cpp
index 17b5df018..de9d48808 100644
--- a/src/noise.cpp
+++ b/src/noise.cpp
@@ -317,7 +317,7 @@ void Noise::setSize(int sx, int sy, int sz) {
delete[] buf;
delete[] result;
this->buf = new float[sx * sy * sz];
- this->result = new float[sx * sy * sz];
+ this->result = new float[sx * sy * sz];
}