mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use STL containers instead of irr::core::list
This commit is contained in:
parent
1cc1c56234
commit
f1e4a671dc
8 changed files with 9 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue