aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/MapManager.cpp
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-06-03 10:21:06 +0200
committerCarbenium <carbenium@outlook.com>2020-07-16 20:59:25 +0200
commit259bde591444980c27a17524c140f078c4159f55 (patch)
tree60043db1cbdc52692608421e23bf2d0c01e0b047 /src/server/game/Maps/MapManager.cpp
parenteb7d09b0b7bf2e5cb3bb4ab0b5a1c6def37395f9 (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 (cherry picked from commit a97439e8d63c0a78bda8a6ed4801f122385936e3)
Diffstat (limited to 'src/server/game/Maps/MapManager.cpp')
0 files changed, 0 insertions, 0 deletions