Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7488 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
May 3, 2006, 12:03:47 AM (19 years ago)
Author:
patrick
Message:

orxonox: mission manager less verbose and more secure now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/test_entity.cc

    r7198 r7488  
    2121#include "util/loading/factory.h"
    2222#include "util/loading/load_param.h"
     23
     24#include "kill.h"
     25#include "game_rules.h"
    2326
    2427#include "test_entity.h"
     
    99102    this->dieHard();
    100103    this->lastCollided = entity;
     104
     105    if(State::getGameRules())
     106      State::getGameRules()->registerKill(Kill(entity, this));
    101107  }
    102108}
     
    108114  if( this->bDeath)
    109115    return;
     116
    110117  this->bDeath = true;
    111118  float anim;
Note: See TracChangeset for help on using the changeset viewer.