Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7110


Ignore:
Timestamp:
Jun 3, 2010, 9:36:41 AM (14 years ago)
Author:
scheusso
Message:

made pickupmanager network-friendly ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/src/modules/pickup/PickupManager.cc

    r7010 r7110  
    5252    DeclareToluaInterface(Pickup);
    5353   
    54     ManageScopedSingleton(PickupManager, ScopeID::Graphics, false);
     54    ManageScopedSingleton(PickupManager, ScopeID::Root, false);
    5555   
    5656    /*static*/ const std::string PickupManager::guiName_s = "PickupInventory";
     
    6464        RegisterRootObject(PickupManager);
    6565
    66         GUIManager::getInstance().loadGUI(PickupManager::guiName_s);
     66        if( GameMode::showsGraphics() )
     67        {
     68            GUIManager::getInstance().loadGUI(PickupManager::guiName_s);
     69        }
    6770        this->defaultRepresentation_ = new PickupRepresentation();
    6871       
Note: See TracChangeset for help on using the changeset viewer.