Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2009, 8:40:39 PM (15 years ago)
Author:
landauf
Message:

removed some warnings and fixed an include error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/pickup/PickupInventory.cc

    r3073 r3074  
    250250    {
    251251        Pawn* pawn;
    252         if(pawn = HumanController::getLocalControllerEntityAsPawn())
     252        if((pawn = HumanController::getLocalControllerEntityAsPawn()))
    253253        {
    254254            std::deque<EquipmentItem*> items = pawn->getPickups().getEquipmentItems();
     
    274274    {
    275275        Pawn* pawn;
    276         if(pawn = HumanController::getLocalControllerEntityAsPawn())
     276        if((pawn = HumanController::getLocalControllerEntityAsPawn()))
    277277        {
    278278            std::deque<UsableItem*> items = pawn->getPickups().getUsableItems();
Note: See TracChangeset for help on using the changeset viewer.