Changeset 6074 in orxonox.OLD for trunk/src/world_entities/weapons/guided_missile.cc
- Timestamp:
- Dec 12, 2005, 11:34:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/guided_missile.cc
r6056 r6074 28 28 #include "particle_emitter.h" 29 29 #include "particle_system.h" 30 31 32 #include "null_parent.h"33 30 34 31 using namespace std; … … 153 150 { 154 151 //Vector v = *this->flightDirection * ( this->speed * time * 1000 + 0.1); 155 if (target.getParent() != NullParent::getInstance())152 if (target.getParent() != PNode::getNullParent()) 156 153 { 157 154 velocity += ((target.getAbsCoor() - this->getAbsCoor()).getNormalized())*agility;
Note: See TracChangeset
for help on using the changeset viewer.