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/QuestDescription.cc

    r7163 r7355  
    8484    @param status
    8585        The status the QuestDescription us for.
     86    @param player
     87        The player the Notification is sent to.
    8688    @return
    8789        Returns true if successful.
    88     @todo
    89         Make sure the messages meet the conditions.
    9090    */
    91     bool QuestDescription::notificationHelper(const std::string & item, const std::string & status)
     91    bool QuestDescription::notificationHelper(const std::string & item, const std::string & status, PlayerInfo* player)
    9292    {
    9393        std::string message;
     
    123123
    124124        QuestNotification* notification = new QuestNotification(this, message);
    125         notification->send();
     125        notification->send(player);
    126126        return true;
    127127    }
Note: See TracChangeset for help on using the changeset viewer.