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

    r7324 r7355  
    2929#include "QuestNotification.h"
    3030#include "core/CoreIncludes.h"
     31#include "infos/PlayerInfo.h"
    3132
    3233namespace orxonox {
     
    6869    @brief
    6970        Send the QuestNotification.
     71    @param player
     72        The player the Notification is sent to.
    7073    @return
    7174        Returns true if successful.
    7275    */
    73     bool QuestNotification::send(void)
     76    bool QuestNotification::send(PlayerInfo* player)
    7477    {
    75         return true;//this->Notification::send(QuestNotification::SENDER); //TODO: Adjust.
     78        return this->Notification::send(player->getClientID(), QuestNotification::SENDER);
    7679    }
    7780
Note: See TracChangeset for help on using the changeset viewer.