projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Send Position packet on event, don't check it at each AsyncRunStep.
[oweals/minetest.git]
/
src
/
mapgen.cpp
diff --git
a/src/mapgen.cpp
b/src/mapgen.cpp
index ef3daf305a7d8d287083057907074d3b6ede4f5c..ba1b16d6a6438665f20fbbd357d0a4655f6ef075 100644
(file)
--- a/
src/mapgen.cpp
+++ b/
src/mapgen.cpp
@@
-310,7
+310,6
@@
void Mapgen::spreadLight(v3s16 nmin, v3s16 nmax)
{
//TimeTaker t("spreadLight");
VoxelArea a(nmin, nmax);
- v3s16 em = vm->m_area.getExtent();
for (int z = a.MinEdge.Z; z <= a.MaxEdge.Z; z++) {
for (int y = a.MinEdge.Y; y <= a.MaxEdge.Y; y++) {