diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-06 04:18:04 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-06 13:53:35 -0500 |
commit | 5062b99cb0d252d9e377ff4560f7ecc9e66fd558 (patch) | |
tree | 3474c0734aac243cabfcf3af763becb4025da35b /src/mg_ore.cpp | |
parent | 2b119e1e192ead701e69e261fe94ccb7382dbee7 (diff) | |
download | minetest-5062b99cb0d252d9e377ff4560f7ecc9e66fd558.tar.gz minetest-5062b99cb0d252d9e377ff4560f7ecc9e66fd558.tar.bz2 minetest-5062b99cb0d252d9e377ff4560f7ecc9e66fd558.zip |
Rewrite generate notification mechanism
Add support for notify-on-decoration
Clean up mapgen constructors
Clean up mapgen.cpp code style somewhat
Remove trailing whitespace from some files
Diffstat (limited to 'src/mg_ore.cpp')
-rw-r--r-- | src/mg_ore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mg_ore.cpp b/src/mg_ore.cpp index edbb224c1..80e86130a 100644 --- a/src/mg_ore.cpp +++ b/src/mg_ore.cpp @@ -95,7 +95,7 @@ size_t Ore::placeOre(Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax) nmax.Y = ymax; generate(mg->vm, mg->seed, blockseed, nmin, nmax); - return 0; + return 1; } |