*Allow to fish in shallow water.

--HG--
branch : trunk
This commit is contained in:
aven_coda committed 2009-07-09 18:06:08 +02:00
1 parent 5206cd8a4e
commit b39bff681f
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -6423,7 +6423,7 @@ void Spell::EffectTransmitted(uint32 effIndex)
if(goinfo->type==GAMEOBJECT_TYPE_FISHINGNODE)
{
if ( !cMap->IsInWater(fx, fy, fz-0.5f)) // Hack to prevent fishing bobber from failing to land on fishing hole
if ( !cMap->IsInWater(fx, fy, fz-0.5f, 0.5f)) // Hack to prevent fishing bobber from failing to land on fishing hole
{ // but this is not proper, we really need to ignore not materialized objects
SendCastResult(SPELL_FAILED_NOT_HERE);
SendChannelUpdate(0);