mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Cavegen: Fix copy & paste error (solves #2020)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user