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:
c5b4e54
)
Schematics: Fix probability values for .mts version 1
author
kwolekr
<kwolekr@minetest.net>
Fri, 15 May 2015 17:20:12 +0000
(13:20 -0400)
committer
kwolekr
<kwolekr@minetest.net>
Fri, 15 May 2015 20:20:30 +0000
(16:20 -0400)
src/mg_schematic.cpp
patch
|
blob
|
history
diff --git
a/src/mg_schematic.cpp
b/src/mg_schematic.cpp
index 81d849a66b7d12e26f977ddd1ce7b08b83637aae..a5ffb20b8faa38e56e7873a4df11a4508be7e32d 100644
(file)
--- a/
src/mg_schematic.cpp
+++ b/
src/mg_schematic.cpp
@@
-282,7
+282,7
@@
bool Schematic::deserializeFromMts(std::istream *is,
if (version < 2) {
for (size_t i = 0; i != nodecount; i++) {
if (schemdata[i].param1 == 0)
- schemdata[i].param1 = MTSCHEM_PROB_ALWAYS;
+ schemdata[i].param1 = MTSCHEM_PROB_ALWAYS
_OLD
;
if (have_cignore && schemdata[i].getContent() == cignore)
schemdata[i].param1 = MTSCHEM_PROB_NEVER;
}