*Allow to fish in shallow water.
--HG-- branch : trunk
This commit is contained in:
1 parent
5206cd8a4e
commit
b39bff681f
3 files changed
+4
-4
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user