summaryrefslogtreecommitdiff
path: root/src/noise.cpp
diff options
context:
space:
mode:
authorkwolekr <mirrorisim@gmail.com>2013-01-06 14:40:24 -0500
committerPerttu Ahola <celeron55@gmail.com>2013-01-21 21:41:37 +0200
commit631a835e0782a2696762e3d55f75616f5a063394 (patch)
tree5f344ae788a50eb023e5d9fb92ed9478256c8f46 /src/noise.cpp
parent45cf32afc5554d76f7f48268a8cab5a051638761 (diff)
downloadminetest-631a835e0782a2696762e3d55f75616f5a063394.tar.gz
minetest-631a835e0782a2696762e3d55f75616f5a063394.tar.bz2
minetest-631a835e0782a2696762e3d55f75616f5a063394.zip
Finish and clean up mapgen configuration
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];
}