diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-08-05 22:29:47 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-09-19 20:57:07 +0200 |
commit | 9c635f28ac2b103bf7196e47947bf64673c13393 (patch) | |
tree | efdde722915c72c54f982144e7a1714897e517e4 /src/script/scripting_mainmenu.h | |
parent | fe994946b7fabdb6f3cc7d11ec6ee1a27f7f5c20 (diff) | |
download | minetest-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/script/scripting_mainmenu.h')
0 files changed, 0 insertions, 0 deletions