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

Make it compile

This commit is contained in:
Sfan5 2013-09-06 18:22:12 +02:00
parent 58841ef12f
commit 7e44c2ace1
7 changed files with 14 additions and 8 deletions

View file

@ -3371,7 +3371,10 @@ void ServerMap::listAllLoadableBlocks(std::list<v3s16> &dst)
errorstream<<"Map::listAllLoadableBlocks(): Result will be missing "
<<"all blocks that are stored in flat files"<<std::endl;
}
dbase->listAllLoadableBlocks(dst);
core::list<v3s16> dst_;
dbase->listAllLoadableBlocks(dst_);
for(core::list<v3s16>::Iterator i = dst_.begin(); i != dst_.end(); ++i)
dst.push_back(*i);
}
void ServerMap::listAllLoadedBlocks(std::list<v3s16> &dst)