diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map.cpp b/src/map.cpp index 7a5296bac..e2191f9e1 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -3371,10 +3371,7 @@ void ServerMap::listAllLoadableBlocks(std::list<v3s16> &dst) errorstream<<"Map::listAllLoadableBlocks(): Result will be missing " <<"all blocks that are stored in flat files"<<std::endl; } - core::list<v3s16> dst_; - dbase->listAllLoadableBlocks(dst_); - for(core::list<v3s16>::Iterator i = dst_.begin(); i != dst_.end(); ++i) - dst.push_back(*i); + dbase->listAllLoadableBlocks(dst); } void ServerMap::listAllLoadedBlocks(std::list<v3s16> &dst) |