Little optimization on getAdded/Removed activeobjects per player loop.
authorLoic Blot <loic.blot@unix-experience.fr>
Wed, 5 Aug 2015 20:29:47 +0000 (22:29 +0200)
committerest31 <MTest31@outlook.com>
Sat, 19 Sep 2015 18:57:07 +0000 (20:57 +0200)
commit9c635f28ac2b103bf7196e47947bf64673c13393
treeefdde722915c72c54f982144e7a1714897e517e4
parentfe994946b7fabdb6f3cc7d11ec6ee1a27f7f5c20
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.
src/environment.cpp
src/environment.h
src/server.cpp