Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2008, 7:07:36 PM (16 years ago)
Author:
polakma
Message:

added new features to munition.h and weapon.h. tried to fix projectiles (still doesn't compile)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/ParticleProjectile.cc

    r2099 r2232  
    3030#include "ParticleProjectile.h"
    3131
    32 #include "SpaceShip.h"
     32#include "../../worldentities/pawns/SpaceShip.h"
    3333#include "core/CoreIncludes.h"
    3434#include "core/ConfigValueIncludes.h"
     
    4242        RegisterObject(ParticleProjectile);
    4343
    44         this->particles_ = new ParticleInterface("Orxonox/shot2", LODParticle::normal);
     44        this->particles_ = new ParticleInterface(this->getSceneManager(), "Orxonox/shot2", LODParticle::normal);
    4545        this->particles_->addToSceneNode(this->getNode());
    4646        this->particles_->setKeepParticlesInLocalSpace(true);
Note: See TracChangeset for help on using the changeset viewer.