projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d6be8
)
Fix constant re-queueing of emerges that will always be unsuccessful
author
sfan5
<sfan5@live.de>
Mon, 11 May 2020 18:22:32 +0000
(20:22 +0200)
committer
sfan5
<sfan5@live.de>
Sun, 24 May 2020 09:48:33 +0000
(11:48 +0200)
src/clientiface.cpp
patch
|
blob
|
history
diff --git
a/src/clientiface.cpp
b/src/clientiface.cpp
index 4f954342af50ba033904e1ed5373abb40bd774c8..602a44c90681c222d864e47f9e282adf119e0f79 100644
(file)
--- a/
src/clientiface.cpp
+++ b/
src/clientiface.cpp
@@
-344,10
+344,10
@@
void RemoteClient::GetNextBlocks (
}
/*
- If block has been marked to not exist on disk (dummy)
- and generating new ones is not wanted, skip block.
+ If block has been marked to not exist on disk (dummy)
or is
+
not generated
and generating new ones is not wanted, skip block.
*/
- if (!generate &&
surely_not_found_on_disk
) {
+ if (!generate &&
(surely_not_found_on_disk || block_is_invalid)
) {
// get next one.
continue;
}