Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 18, 2009, 6:00:13 PM (15 years ago)
Author:
Aurelian
Message:

Respawning changed, not possible anymore, not completely working. Movable Entity is now able to cause damage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gametypes/src/orxonox/objects/worldentities/triggers/CheckPoint.cc

    r2978 r2986  
    3737
    3838#include "orxonox/objects/worldentities/ControllableEntity.h"
     39#include "orxonox/objects/worldentities/pawns/Pawn.h"
    3940
    4041namespace orxonox
     
    5152    this->bIsDestination_ = false;
    5253    //this->setVisible(true);
     54
     55    this->notifyMaskUpdate();
    5356  }
    5457
     
    8790     }
    8891  }
     92
     93  void CheckPoint::notifyMaskUpdate()
     94  {
     95      this->targetMask_.exclude(Class(BaseObject));
     96      this->targetMask_.include(Class(Pawn));
     97  }
    8998}
Note: See TracChangeset for help on using the changeset viewer.