Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Apr 7, 2013
1 parent 1c1127d commit ca598c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions GameClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class CQuest {
public UInt32 QuestID;
public String Title;
public String Text;
public bool CanComplete;

public List<CLinkedItem> RequiredItems = new List<CLinkedItem>();

Expand Down Expand Up @@ -649,6 +650,8 @@ public void OnQuestTitleInfo(UInt32 command, UInt32 intparam1, UInt32 intparam2,
q.QuestID = intparam1;
q.Title = str;

q.CanComplete = (intparam2 & 0x01) > 0;

QuestsAvailable.Add(q);

// todo: temp
Expand Down

0 comments on commit ca598c4

Please sign in to comment.