diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-07-14 14:45:23 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2012-07-14 18:54:32 +0200 |
commit | 66f1696f101c39f7e3f01641e562c0c5c8eac77f (patch) | |
tree | ecacbcfb68f7f14b29f9d75e848087de8541357a /src/utils/mathutils.cpp | |
parent | 17ad3131158024c2da32972eb8f21607b803994a (diff) | |
download | manaserv-66f1696f101c39f7e3f01641e562c0c5c8eac77f.tar.gz manaserv-66f1696f101c39f7e3f01641e562c0c5c8eac77f.tar.bz2 manaserv-66f1696f101c39f7e3f01641e562c0c5c8eac77f.tar.xz manaserv-66f1696f101c39f7e3f01641e562c0c5c8eac77f.zip |
Fixed the get_beings_in_rectangle function.
Previously it only used the rectangle iterator which in fact iterated over the
beings in the map zones and returned often way higher number of beings compared
to the actual rectangle.
Change is tested.
Reviewed-by: Bjorn.
Diffstat (limited to 'src/utils/mathutils.cpp')
0 files changed, 0 insertions, 0 deletions