Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2005, 1:26:03 AM (18 years ago)
Author:
bensch
Message:

orxonox/branches/spaceshipcontroll: simple world-interactivity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/player.cc

    r5875 r5881  
    4949  PRINTF(4)("PLAYER INIT\n");
    5050
     51  this->controllable = NULL;
    5152}
    5253
     
    5556void Player::process(const Event &event)
    5657{
    57   this->controllable->process(event);
     58  if (likely(this->controllable != NULL))
     59    this->controllable->process(event);
    5860}
    5961
     
    6264 {
    6365
    64    this->controllable = controllable;
     66   this->controllable = controllalble;
    6567   this->controllable->subscribeEvents(this);
    6668
Note: See TracChangeset for help on using the changeset viewer.