Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 6, 2010, 8:00:40 AM (14 years ago)
Author:
dafrick
Message:

Pickups module is now (from what I can tell after some basic testing) fully functional over the network.
However it's still a little messy, needs some cleanup and documentation.
I introduced a new class, the PickupListener, which allows reacting to pickups becoming used, unused, picked up or dropped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/NotificationManager.cc

    r7489 r7504  
    249249        // If all senders are the target of the NotificationListener, then the list of Notifications for that specific NotificationListener is the same as the list of all Notifications.
    250250        bool bAll = set.find(NotificationManager::ALL) != set.end();
    251         std::multimap<std::time_t, Notification*>* map;
     251        std::multimap<std::time_t, Notification*>* map = NULL;
    252252        if(bAll)
    253253            this->notificationLists_[index] = &this->allNotificationsList_;
Note: See TracChangeset for help on using the changeset viewer.