forked from Mirrorlandia_minetest/minetest
Cavegen: Fix copy & paste error (solves #2020)
This commit is contained in:
parent
570c2042b1
commit
c5faa64405
@ -122,7 +122,7 @@ void CaveV6::makeCave(v3s16 nmin, v3s16 nmax, int max_stone_height) {
|
|||||||
// Add generation notify end event
|
// Add generation notify end event
|
||||||
abs_pos = v3s16(of.X + orp.X, of.Y + orp.Y, of.Z + orp.Z);
|
abs_pos = v3s16(of.X + orp.X, of.Y + orp.Y, of.Z + orp.Z);
|
||||||
notifytype = large_cave ?
|
notifytype = large_cave ?
|
||||||
GENNOTIFY_LARGECAVE_BEGIN : GENNOTIFY_CAVE_BEGIN;
|
GENNOTIFY_LARGECAVE_END : GENNOTIFY_CAVE_END;
|
||||||
mg->gennotify.addEvent(notifytype, abs_pos);
|
mg->gennotify.addEvent(notifytype, abs_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user