Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 5, 2010, 1:29:07 PM (14 years ago)
Author:
dafrick
Message:

Re-enabling Notifications for Quests.
Notifications still only work in standalone, though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/notifications/src/modules/questsystem/Quest.cc

    r7163 r7355  
    367367        COUT(4) << "Quest {" << this->getId() << "} is failed for player: " << player << " ." <<std::endl;
    368368
    369         this->getDescription()->sendFailQuestNotification();
     369        this->getDescription()->sendFailQuestNotification(player);
    370370        return true;
    371371    }
     
    386386        COUT(4) << "Quest {" << this->getId() << "} is completed for player: " << player << " ." <<std::endl;
    387387
    388         this->getDescription()->sendCompleteQuestNotification();
     388        this->getDescription()->sendCompleteQuestNotification(player);
    389389        return true;
    390390    }
     
    412412        this->setStatus(player, QuestStatus::Active);
    413413
    414         this->getDescription()->sendAddQuestNotification();
     414        this->getDescription()->sendAddQuestNotification(player);
    415415        return true;
    416416    }
Note: See TracChangeset for help on using the changeset viewer.