diff --git a/src/game/CellImpl.h b/src/game/CellImpl.h index f319f70e7..f1d8732b3 100644 --- a/src/game/CellImpl.h +++ b/src/game/CellImpl.h @@ -181,6 +181,9 @@ Cell::Visit(const CellLock &l, TypeContainerVisitor &vi m.Visit(l, visitor); return; } + //lets limit the upper value for search radius + if(radius > 333.0f) + radius = 333.0f; //lets calculate object coord offsets from cell borders. CellArea area = Cell::CalculateCellArea(obj, radius); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ade6e9a62..58fc7f3ed 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8525" + #define REVISION_NR "8526" #endif // __REVISION_NR_H__