Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 1, 2010, 6:15:40 PM (15 years ago)
Author:
gnadler
Message:

tried to fix ~RocketController() as well as that the rocket is not visible, but failed

File:
1 edited

Legend:

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

    r6813 r6814  
    6767    }
    6868
    69         /*
    70         I wanted to define the controllable entity with this function but the compiler gives the error: line 80: rocket - unidentified identifier
    71         or some similar error.
    72         */
     69
     70        RocketController::~RocketController() {
     71
     72                delete this->getControllableEntity();
     73
     74        }
     75
     76
    7377
    7478}
Note: See TracChangeset for help on using the changeset viewer.