aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/Map.h
diff options
context:
space:
mode:
authorMachiavelli <machiavelli.trinity@gmail.com>2012-06-22 05:31:04 -0700
committerMachiavelli <machiavelli.trinity@gmail.com>2012-06-22 05:31:04 -0700
commitcfb53dbf42bd5e1274be07f022f786a1451e515c (patch)
treeef19545a1b8e60855305e5eec211e860240f6662 /src/server/game/Maps/Map.h
parentacee199e7882b4c82b2ded20b7cf429263f687d1 (diff)
parent716e2db0e10673401ba7d6579899a8151ae64208 (diff)
Merge pull request #6885 from Chaplain/clean
Core/Misc: Code-style + some const methods.
Diffstat (limited to 'src/server/game/Maps/Map.h')
-rwxr-xr-xsrc/server/game/Maps/Map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h
index 214f50e6d3c..6d526f23a94 100755
--- a/src/server/game/Maps/Map.h
+++ b/src/server/game/Maps/Map.h
@@ -193,10 +193,10 @@ public:
bool loadData(char* filaname);
void unloadData();
- uint16 getArea(float x, float y);
- inline float getHeight(float x, float y) {return (this->*_gridGetHeight)(x, y);}
- float getLiquidLevel(float x, float y);
- uint8 getTerrainType(float x, float y);
+ uint16 getArea(float x, float y) const;
+ inline float getHeight(float x, float y) const {return (this->*_gridGetHeight)(x, y);}
+ float getLiquidLevel(float x, float y) const;
+ uint8 getTerrainType(float x, float y) const;
ZLiquidStatus getLiquidStatus(float x, float y, float z, uint8 ReqLiquidType, LiquidData* data = 0);
};