Skip to content

Commit

Permalink
Fix for a problem with global player quests and hasquestsub
Browse files Browse the repository at this point in the history
  • Loading branch information
KimLS committed May 27, 2014
1 parent 5af47c5 commit dd73b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zone/QuestParserCollection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ bool QuestParserCollection::PlayerHasQuestSubLocal(QuestEventID evt) {
bool QuestParserCollection::PlayerHasQuestSubGlobal(QuestEventID evt) {
if(_global_player_quest_status == QuestUnloaded) {
std::string filename;
QuestInterface *qi = GetQIByPlayerQuest(filename);
QuestInterface *qi = GetQIByGlobalPlayerQuest(filename);
if(qi) {
_global_player_quest_status = qi->GetIdentifier();
qi->LoadPlayerScript(filename);
qi->LoadGlobalPlayerScript(filename);
return qi->GlobalPlayerHasQuestSub(evt);
}
} else if(_global_player_quest_status != QuestFailedToLoad) {
Expand Down

0 comments on commit dd73b82

Please sign in to comment.