Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6560 in orxonox.OLD


Ignore:
Timestamp:
Jan 18, 2006, 3:00:32 PM (18 years ago)
Author:
patrick
Message:

playable now checks for player

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/space_ships/space_ship.cc

    r6553 r6560  
    3939#include "graphics_engine.h"
    4040
     41
     42#include "state.h"
     43#include "player.h"
    4144
    4245
     
    271274void SpaceShip::tick (float time)
    272275{
    273 
     276  if( this != State::getPlayer()->getControllable())
     277    return;
    274278  // spaceship controlled movement
    275279  this->calculateVelocity(time);
Note: See TracChangeset for help on using the changeset viewer.