Browse Source

More remnant SPGrid code no longer needed is removed..

Image 2 years ago
parent
commit
b251f10923
2 changed files with 0 additions and 10 deletions
  1. 0 4
      EQ2/source/WorldServer/Zone/map.cpp
  2. 0 6
      EQ2/source/WorldServer/Zone/map.h

+ 0 - 4
EQ2/source/WorldServer/Zone/map.cpp

@@ -365,8 +365,6 @@ bool Map::LoadV2(FILE* f) {
 	// in both the X and Z direction
 	float width = m_MaxX - m_MinX;
 	float height = m_MaxZ - m_MinZ;
-	m_NumCellsX = ceil(width / m_CellSize);
-	m_NumCellsZ = ceil(height / m_CellSize);
 
 	// Read the number of grids
 	int32 NumGrids;
@@ -503,8 +501,6 @@ bool Map::LoadV2Deflated(FILE* f) {
 	// in both the X and Z direction
 	float width = m_MaxX - m_MinX;
 	float height = m_MaxZ - m_MinZ;
-	m_NumCellsX = ceil(width / m_CellSize);
-	m_NumCellsZ = ceil(height / m_CellSize);
 
 	// Read the number of grids
 	int32 NumGrids;

+ 0 - 6
EQ2/source/WorldServer/Zone/map.h

@@ -96,12 +96,6 @@ private:
 	float m_MaxX;
 	float m_MaxZ;
 
-	int32 m_NumCellsX;
-	int32 m_NumCellsZ;
-
-	int32 m_NumFaceCellsX;
-	int32 m_NumFaceCellsZ;
-
 	struct impl;
 	impl *imp;
 	bool mapLoaded;