From: kwolekr Date: Mon, 29 Dec 2014 03:35:14 +0000 (-0500) Subject: Cavegen: Fix copy & paste error (solves #2020) X-Git-Tag: 0.4.12~192 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c5faa644056c892ccf5e41cfde87a5b107149951;p=oweals%2Fminetest.git Cavegen: Fix copy & paste error (solves #2020) --- 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); }