Permalink
Browse files

Core/Grid: revert f9caf79 - led to some unexpected behavior.

  • Loading branch information...
1 parent cf29214 commit 72d3e856dedaffcddffa6cd36cf56ec5a5809d58 @kaelima kaelima committed Mar 29, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/server/game/Grids/GridDefines.h
@@ -215,8 +215,7 @@ namespace Trinity
inline bool IsValidMapCoord(float c)
{
- //! Since we visit grids in circles, we cannot allow players to relocate to grids on the edge of a map - thus the use of CENTER_GRID_OFFSET
- return finite(c) && (std::fabs(c) <= MAP_HALFSIZE - CENTER_GRID_OFFSET - 0.5f);
+ return finite(c) && (std::fabs(c) <= MAP_HALFSIZE - 0.5f);
}
inline bool IsValidMapCoord(float x, float y)

0 comments on commit 72d3e85

Please sign in to comment.