aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-28 22:35:14 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-28 22:35:14 -0500
commitc5faa644056c892ccf5e41cfde87a5b107149951 (patch)
treea3982658cd3ef9bb410e7f0e9b7ea3ec93c9fb3a
parent570c2042b1b11fc1581dceb22c74cf47bb217134 (diff)
downloadminetest-c5faa644056c892ccf5e41cfde87a5b107149951.tar.gz
minetest-c5faa644056c892ccf5e41cfde87a5b107149951.tar.bz2
minetest-c5faa644056c892ccf5e41cfde87a5b107149951.zip
Cavegen: Fix copy & paste error (solves #2020)
-rw-r--r--src/cavegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cavegen.cpp b/src/cavegen.cpp
index 4482d09d7..22bf03d17 100644
--- a/src/cavegen.cpp
+++ b/src/cavegen.cpp
@@ -122,7 +122,7 @@ void CaveV6::makeCave(v3s16 nmin, v3s16 nmax, int max_stone_height) {
// Add generation notify end event
abs_pos = v3s16(of.X + orp.X, of.Y + orp.Y, of.Z + orp.Z);
notifytype = large_cave ?
- GENNOTIFY_LARGECAVE_BEGIN : GENNOTIFY_CAVE_BEGIN;
+ GENNOTIFY_LARGECAVE_END : GENNOTIFY_CAVE_END;
mg->gennotify.addEvent(notifytype, abs_pos);
}