* Add support for the use of Gameobject type 10 (GOOBER) use when not on quest

* if data1=-1

--HG--
branch : trunk
This commit is contained in:
Brian
2009-12-20 09:03:45 -07:00
parent 857fa2e4f6
commit 31c6b10a19
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -824,7 +824,7 @@ bool GameObject::ActivateToQuest(Player *pTarget) const
}
case GAMEOBJECT_TYPE_GOOBER:
{
if (pTarget->GetQuestStatus(GetGOInfo()->goober.questId) == QUEST_STATUS_INCOMPLETE)
if (pTarget->GetQuestStatus(GetGOInfo()->goober.questId) == QUEST_STATUS_INCOMPLETE || GetGOInfo()->goober.questId == -1)
return true;
break;
}
+1 -1
View File
@@ -170,7 +170,7 @@ struct GameObjectInfo
struct
{
uint32 lockId; //0 -> Lock.dbc
uint32 questId; //1
int32 questId; //1
uint32 eventId; //2
uint32 autoCloseTime; //3
uint32 customAnim; //4