Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2005, 11:34:02 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: taken out NullParent.
THE TRUNK IS NOT RUNNING FOR THE TIME BEING. DO NOT BE ALARMED, THIS IS TEMPORARY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/guided_missile.cc

    r6056 r6074  
    2828#include "particle_emitter.h"
    2929#include "particle_system.h"
    30 
    31 
    32 #include "null_parent.h"
    3330
    3431using namespace std;
     
    153150{
    154151  //Vector v = *this->flightDirection * ( this->speed * time * 1000 + 0.1);
    155   if (target.getParent() != NullParent::getInstance())
     152  if (target.getParent() != PNode::getNullParent())
    156153   {
    157154     velocity += ((target.getAbsCoor() - this->getAbsCoor()).getNormalized())*agility;
Note: See TracChangeset for help on using the changeset viewer.