Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 15, 2009, 5:03:58 PM (16 years ago)
Author:
landauf
Message:

merged pickup into pickup2

Location:
code/branches/pickups2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickups2

  • code/branches/pickups2/src/orxonox/objects/worldentities/pawns/Pawn.cc

    r2904 r2917  
    6161        this->spawnparticleduration_ = 3.0f;
    6262
    63         this->getPickUp().setPlayer(this);
     63        this->getPickups().setOwner(this);
    6464
    6565        if (GameMode::isMaster())
     
    205205            this->setDestroyWhenPlayerLeft(false);
    206206
     207            this->dropItems();
     208
    207209            if (this->getGametype())
    208210                this->getGametype()->pawnKilled(this, this->lastHitOriginator_);
     
    266268    void Pawn::dropItems()
    267269    {
    268         pickUp.eraseAll();
     270        this->getPickups().clear();
    269271    }
    270272
Note: See TracChangeset for help on using the changeset viewer.