Changeset 7209
- Timestamp:
- Aug 24, 2010, 10:59:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pickup/PickupManager.cc
r7206 r7209 53 53 DeclareToluaInterface(Pickup); 54 54 55 ManageScopedSingleton(PickupManager, ScopeID:: Root, false);55 ManageScopedSingleton(PickupManager, ScopeID::Graphics, false); 56 56 57 57 /*static*/ const std::string PickupManager::guiName_s = "PickupInventory"; … … 65 65 RegisterRootObject(PickupManager); 66 66 67 //TODO: This doesn't work, yet. 68 if( GameMode::showsGraphics() ) 69 { 70 GUIManager::getInstance().loadGUI(PickupManager::guiName_s); 71 } 67 GUIManager::getInstance().loadGUI(PickupManager::guiName_s); 68 72 69 this->defaultRepresentation_ = new PickupRepresentation(); 73 70
Note: See TracChangeset
for help on using the changeset viewer.