Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 1:07:27 AM (15 years ago)
Author:
dafrick
Message:

Merging the QuestSystem branch to the trunk. Let's hope, this isn't a 'third time's the charm'-thing…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gamestates/GSLevel.cc

    r2896 r2909  
    5050#include "LevelManager.h"
    5151#include "PlayerManager.h"
     52#include "orxonox/objects/quest/QuestManager.h"
     53#include "orxonox/overlays/notifications/NotificationManager.h"
    5254#include "gui/GUIManager.h"
    5355
     
    110112
    111113        this->playerManager_ = new PlayerManager();
     114
     115        this->questManager_ = new QuestManager();
     116
     117        this->notificationManager_ = new NotificationManager();
    112118
    113119        if (GameMode::isMaster())
     
    203209            delete this->playerManager_;
    204210            this->playerManager_ = 0;
     211        }
     212
     213        if (this->questManager_)
     214        {
     215            delete this->questManager_;
     216            this->questManager_ = NULL;
     217        }
     218
     219        if (this->notificationManager_)
     220        {
     221            delete this->notificationManager_;
     222            this->notificationManager_ = NULL;
    205223        }
    206224
Note: See TracChangeset for help on using the changeset viewer.