diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-06-03 05:21:06 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2017-06-03 05:21:06 -0300 |
commit | a97439e8d63c0a78bda8a6ed4801f122385936e3 (patch) | |
tree | ee876298488db54768067cba1fca74a5409fa13f /src/common/Collision/DynamicTree.cpp | |
parent | abac1b34bcb84d65ef857076321af3acd22a3c9b (diff) |
Core/SAI: Change SmartScript::GetTargets to return an ObjectList instead of a ObjectList*
Applied the same treatment to GetWorldObjectsInDist
Honestly no idea why the original idea insisted so much
on using pointers. No more missing null checks or deletes.
SmartAI's "ObjectList" is now a std::vector instead of a std::list
because no where it was being used as an actual list.
Original idea by DDuarte :P
Diffstat (limited to 'src/common/Collision/DynamicTree.cpp')
0 files changed, 0 insertions, 0 deletions