Core/PacketIO: Fixed array size of CMSG_QUEST_POI_QUERY as of patch 10.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/6af42ce82da9273eb47a2a53637f1aaf08a63f1d)
This commit is contained in:
@@ -1167,22 +1167,10 @@ namespace Game.Entities
|
|||||||
|
|
||||||
public override bool IsMovementPreventedByCasting()
|
public override bool IsMovementPreventedByCasting()
|
||||||
{
|
{
|
||||||
// first check if currently a movement allowed channel is active and we're not casting
|
if (!base.IsMovementPreventedByCasting() && !HasSpellFocus())
|
||||||
Spell spell = GetCurrentSpell(CurrentSpellTypes.Channeled);
|
return false;
|
||||||
if (spell != null)
|
|
||||||
{
|
|
||||||
if (spell.GetState() != SpellState.Finished && spell.IsChannelActive())
|
|
||||||
if (spell.CheckMovement() != SpellCastResult.SpellCastOk)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (HasSpellFocus())
|
return true;
|
||||||
return true;
|
|
||||||
|
|
||||||
if (HasUnitState(UnitState.Casting))
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void StartPickPocketRefillTimer()
|
public void StartPickPocketRefillTimer()
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ namespace Game.Networking.Packets
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int MissingQuestCount;
|
public int MissingQuestCount;
|
||||||
public uint[] MissingQuestPOIs = new uint[125];
|
public uint[] MissingQuestPOIs = new uint[175];
|
||||||
}
|
}
|
||||||
|
|
||||||
public class QuestPOIQueryResponse : ServerPacket
|
public class QuestPOIQueryResponse : ServerPacket
|
||||||
|
|||||||
Reference in New Issue
Block a user