- Timestamp:
- Jul 23, 2009, 1:34:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/orxonox/objects/quest/QuestManager.cc
r3325 r3337 36 36 #include "util/Exception.h" 37 37 #include "core/CoreIncludes.h" 38 #include "gui/GUIManager.h"39 38 40 39 #include "objects/infos/PlayerInfo.h" … … 225 224 QuestContainer* QuestManager::getQuestTree(std::string & name) 226 225 { 227 GUIOverlay* gui = GUIManager::getInstance().getOverlay(name); 226 GUIOverlay* gui = NULL; 227 for (ObjectList<GUIOverlay>::iterator it = ObjectList<GUIOverlay>::begin(); it != ObjectList<GUIOverlay>::end(); ++it) 228 if (it->getGUIName() == name) 229 gui = *it; 228 230 229 231 PlayerInfo* player;
Note: See TracChangeset
for help on using the changeset viewer.