diff options
author | sfan5 <sfan5@live.de> | 2020-04-10 02:43:49 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2020-05-05 19:26:59 +0200 |
commit | c28fbd06a8bfafc9691a92c90f0cf10ec94cd314 (patch) | |
tree | 09c2dcd20ff76356bb58f055b6877f7d9d3915cd /src/mapgen/mg_schematic.cpp | |
parent | 3c65d1acec27366d88fc3686d3f820175673e203 (diff) | |
download | minetest-c28fbd06a8bfafc9691a92c90f0cf10ec94cd314.tar.xz |
Fix remaining issues with mapgen scriptapi
Diffstat (limited to 'src/mapgen/mg_schematic.cpp')
-rw-r--r-- | src/mapgen/mg_schematic.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mapgen/mg_schematic.cpp b/src/mapgen/mg_schematic.cpp index c3bd89f3a..ba102d997 100644 --- a/src/mapgen/mg_schematic.cpp +++ b/src/mapgen/mg_schematic.cpp @@ -359,7 +359,7 @@ bool Schematic::deserializeFromMts(std::istream *is, bool Schematic::serializeToMts(std::ostream *os, - const std::vector<std::string> &names) + const std::vector<std::string> &names) const { std::ostream &ss = *os; @@ -383,7 +383,8 @@ bool Schematic::serializeToMts(std::ostream *os, bool Schematic::serializeToLua(std::ostream *os, - const std::vector<std::string> &names, bool use_comments, u32 indent_spaces) + const std::vector<std::string> &names, bool use_comments, + u32 indent_spaces) const { std::ostream &ss = *os; |