Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2010, 1:39:33 PM (14 years ago)
Author:
gnadler
Message:

trying to destroy RocketController within SimpleRocket destroyer but doesn't work…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc

    r6813 r6815  
    4141#include "weapons/RocketController.h"
    4242#include "sound/WorldSound.h"
     43#include "util/Debug.h"
    4344
    4445namespace orxonox
     
    5859        this->bDestroy_ = false;
    5960        this->lifetime_ = 100;
     61                COUT(0)<< "simplerocket constructed\n";
    6062                //this->camera_ = null;
    6163                //RocketController* myRController = new RocketController(this);
     
    102104    SimpleRocket::~SimpleRocket()
    103105    {
     106                COUT(0)<< "simplerocket destroyed\n";
     107                delete this->getController();
    104108    }
    105109
Note: See TracChangeset for help on using the changeset viewer.