diff options
author | aven_coda <none@none> | 2009-07-09 18:06:08 +0200 |
---|---|---|
committer | aven_coda <none@none> | 2009-07-09 18:06:08 +0200 |
commit | b39bff681f41b12c483d2fa0a58623bd26ff5871 (patch) | |
tree | 619fde170568437df9ef1d0cd659212eb117a464 /src/game/Map.h | |
parent | 5206cd8a4ebc42c3c08d5d933f986298676b2d6d (diff) |
*Allow to fish in shallow water.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.h')
-rw-r--r-- | src/game/Map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Map.h b/src/game/Map.h index 4caa1942c3c..0e0c3cdc1c8 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -310,7 +310,7 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>, public MaNGOS::Obj // can return INVALID_HEIGHT if under z+2 z coord not found height float GetHeight(float x, float y, float z, bool pCheckVMap=true) const; float GetVmapHeight(float x, float y, float z, bool useMaps) const; - bool IsInWater(float x, float y, float z) const; // does not use z pos. This is for future use + bool IsInWater(float x, float y, float z, float min_depth = 2.0f) const; ZLiquidStatus getLiquidStatus(float x, float y, float z, uint8 ReqLiquidType, LiquidData *data = 0) const; |