[11298] NearUsedPosDo searcher should add only units with correct coordinates. Possibly can help with freezes when 'DetectPosCollision = 1'.

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
Ambal 2011-03-30 09:34:08 +03:00
parent c6794ce48b
commit 5833d74963
2 changed files with 3 additions and 3 deletions

View file

@ -1702,9 +1702,9 @@ namespace MaNGOS
{
x = c->GetPositionX();
y = c->GetPositionY();
}
add(c,x,y);
add(c,x,y);
}
}
template<class T>

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11297"
#define REVISION_NR "11298"
#endif // __REVISION_NR_H__