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

This commit is contained in:
kaelima
2012-03-29 02:56:18 +02:00
parent cf29214364
commit 72d3e856de

View File

@@ -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)