projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
For usages of assert() that are meant to persist in Release builds (when NDEBUG is...
[oweals/minetest.git]
/
src
/
mapgen_v7.cpp
diff --git
a/src/mapgen_v7.cpp
b/src/mapgen_v7.cpp
index 21ee967c69080d2ecd7fccbf5b8260d825c60731..923f85a0fa96e3e4e57fc5026226798b2166d238 100644
(file)
--- a/
src/mapgen_v7.cpp
+++ b/
src/mapgen_v7.cpp
@@
-212,6
+212,7
@@
int MapgenV7::getGroundLevelAtPoint(v2s16 p)
void MapgenV7::makeChunk(BlockMakeData *data)
{
+ // Pre-conditions
assert(data->vmanip);
assert(data->nodedef);
assert(data->blockpos_requested.X >= data->blockpos_min.X &&