projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git]
/
src
/
minimap.cpp
diff --git
a/src/minimap.cpp
b/src/minimap.cpp
index 8b240b199302e1b6d0d10b7e811ea17667696b0c..71a4c9c67874f7fa05f0d133847101a7dcc0b321 100644
(file)
--- a/
src/minimap.cpp
+++ b/
src/minimap.cpp
@@
-606,7
+606,7
@@
void Minimap::updateActiveMarkers()
//// MinimapMapblock
////
-void MinimapMapblock::getMinimapNodes(VoxelManipulator *vmanip,
v3s16
pos)
+void MinimapMapblock::getMinimapNodes(VoxelManipulator *vmanip,
const v3s16 &
pos)
{
for (s16 x = 0; x < MAP_BLOCKSIZE; x++)