Cavegen: Fix copy & paste error (solves #2020)

This commit is contained in:
kwolekr 2014-12-28 22:35:14 -05:00
parent 570c2042b1
commit c5faa64405
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}