Sync QuestFlags with WPP

This commit is contained in:
hondacrx
2017-09-20 00:28:57 -04:00
parent 87e0b1a603
commit 780899e1d1
3 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ namespace Game.Entities
switch (guid.GetHigh())
{
case HighGuid.Player:
Contract.Assert(quest.HasFlag(QuestFlags.Unk1));
Contract.Assert(quest.HasFlag(QuestFlags.AutoComplete));
return Global.ObjectMgr.GetQuestTemplate(nextQuestID);
case HighGuid.Creature:
case HighGuid.Pet:
+1 -1
View File
@@ -2207,7 +2207,7 @@ namespace Game.Entities
return Global.ObjAccessor.GetUnit(this, charmerid);
return null;
}
Unit GetCharmerOrOwnerOrSelf()
public Unit GetCharmerOrOwnerOrSelf()
{
Unit u = GetCharmerOrOwner();
if (u != null)