Changeset 7110 for code/branches/presentation3/src/modules
- Timestamp:
- Jun 3, 2010, 9:36:41 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/pickup/PickupManager.cc
r7010 r7110 52 52 DeclareToluaInterface(Pickup); 53 53 54 ManageScopedSingleton(PickupManager, ScopeID:: Graphics, false);54 ManageScopedSingleton(PickupManager, ScopeID::Root, false); 55 55 56 56 /*static*/ const std::string PickupManager::guiName_s = "PickupInventory"; … … 64 64 RegisterRootObject(PickupManager); 65 65 66 GUIManager::getInstance().loadGUI(PickupManager::guiName_s); 66 if( GameMode::showsGraphics() ) 67 { 68 GUIManager::getInstance().loadGUI(PickupManager::guiName_s); 69 } 67 70 this->defaultRepresentation_ = new PickupRepresentation(); 68 71
Note: See TracChangeset
for help on using the changeset viewer.