summaryrefslogtreecommitdiff
path: root/src/mapgen.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-08-05 22:29:47 +0200
committerest31 <MTest31@outlook.com>2015-09-19 20:57:07 +0200
commit9c635f28ac2b103bf7196e47947bf64673c13393 (patch)
treeefdde722915c72c54f982144e7a1714897e517e4 /src/mapgen.cpp
parentfe994946b7fabdb6f3cc7d11ec6ee1a27f7f5c20 (diff)
downloadminetest-9c635f28ac2b103bf7196e47947bf64673c13393.tar.gz
minetest-9c635f28ac2b103bf7196e47947bf64673c13393.tar.bz2
minetest-9c635f28ac2b103bf7196e47947bf64673c13393.zip
Little optimization on getAdded/Removed activeobjects per player loop.
Use std::queue instead of std::set, we don't need such a heavy container. Don't convert position to int to convert it back to float in the next function.
Diffstat (limited to 'src/mapgen.cpp')
0 files changed, 0 insertions, 0 deletions