Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7209


Ignore:
Timestamp:
Aug 24, 2010, 10:59:12 AM (14 years ago)
Author:
dafrick
Message:

Fixed little "bug", will have to be reviewed, when the pickup module is made network-ready.

File:
1 edited

Legend:

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

    r7206 r7209  
    5353    DeclareToluaInterface(Pickup);
    5454
    55     ManageScopedSingleton(PickupManager, ScopeID::Root, false);
     55    ManageScopedSingleton(PickupManager, ScopeID::Graphics, false);
    5656
    5757    /*static*/ const std::string PickupManager::guiName_s = "PickupInventory";
     
    6565        RegisterRootObject(PickupManager);
    6666
    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
    7269        this->defaultRepresentation_ = new PickupRepresentation();
    7370
Note: See TracChangeset for help on using the changeset viewer.