- Timestamp:
- Dec 3, 2008, 4:40:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem3/src/orxonox/overlays/notifications/NotificationManager.cc
r2287 r2328 97 97 98 98 int i = NotificationQueue::queue_s->getLength(); 99 for (std::list<NotificationContainer*>::iterator notification = notifications_s.begin(); notification != notifications_s.end() || i <=0; ++notification)99 for (std::list<NotificationContainer*>::iterator notification = notifications_s.begin(); notification != notifications_s.end() && i > 0; ++notification) 100 100 { 101 101 i--; 102 102 NotificationContainer* container = *notification; 103 if(container->remainingTime == 0 )103 if(container->remainingTime == 0.0) 104 104 continue; 105 105 106 106 COUT(3) << "Update, title: " << container->notification->getTitle() << ", message: " << container->notification->getMessage() << std::endl; 107 107 108 text = text + "\n\n\n------------" + container->notification->getTitle() ;+ "\n\n" + container->notification->getMessage();108 text = text + "\n\n\n------------" + container->notification->getTitle() + "\n\n" + container->notification->getMessage(); 109 109 } 110 110
Note: See TracChangeset
for help on using the changeset viewer.