1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix remaining issues with mapgen scriptapi

This commit is contained in:
sfan5 2020-04-10 02:43:49 +02:00 committed by Loïc Blot
parent 3c65d1acec
commit c28fbd06a8
7 changed files with 26 additions and 22 deletions

View file

@ -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;