Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2017, 4:05:15 PM (7 years ago)
Author:
patricwi
Message:

sync function added without success, order of pickups in HUD is mixed up

File:
1 edited

Legend:

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

    r11510 r11540  
    265265        assert(pickup);
    266266
     267        orxout() << "just got called"<<endl;
    267268        for (HUDPickupSystem* hud : ObjectList<HUDPickupSystem>())
    268269            pickupSystem = hud;
     
    299300
    300301            if(pickupSystem)
    301                 pickupSystem->updatePickupList(picks, indexes_);
     302                pickupSystem->sync(picks);
    302303           
    303304        }
     
    315316
    316317            if(pickupSystem)
    317                 pickupSystem->removePickup(pickup);
     318                pickupSystem->sync(picks);
    318319            orxout() << "end of pickupChangedPickedUp" << endl;
    319320        }
Note: See TracChangeset for help on using the changeset viewer.