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()
|
||||
{
|
||||
// first check if currently a movement allowed channel is active and we're not casting
|
||||
Spell spell = GetCurrentSpell(CurrentSpellTypes.Channeled);
|
||||
if (spell != null)
|
||||
{
|
||||
if (spell.GetState() != SpellState.Finished && spell.IsChannelActive())
|
||||
if (spell.CheckMovement() != SpellCastResult.SpellCastOk)
|
||||
return true;
|
||||
}
|
||||
if (!base.IsMovementPreventedByCasting() && !HasSpellFocus())
|
||||
return false;
|
||||
|
||||
if (HasSpellFocus())
|
||||
return true;
|
||||
|
||||
if (HasUnitState(UnitState.Casting))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void StartPickPocketRefillTimer()
|
||||
|
||||
@@ -391,7 +391,7 @@ namespace Game.Networking.Packets
|
||||
}
|
||||
|
||||
public int MissingQuestCount;
|
||||
public uint[] MissingQuestPOIs = new uint[125];
|
||||
public uint[] MissingQuestPOIs = new uint[175];
|
||||
}
|
||||
|
||||
public class QuestPOIQueryResponse : ServerPacket
|
||||
|
||||
Reference in New Issue
Block a user