- Timestamp:
- Aug 9, 2013, 9:26:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/modules/pickup/items/DronePickup.cc
r9348 r9629 51 51 Constructor. Registers the object and initializes the member variables. 52 52 */ 53 DronePickup::DronePickup( BaseObject* creator) : Pickup(creator)53 DronePickup::DronePickup(Context* context) : Pickup(context) 54 54 { 55 55 RegisterObject(DronePickup); … … 126 126 127 127 //Attach to pawn 128 Drone* drone = new Drone(pawn->getC reator()); // this is neccessary because the projectiles fired need a valid creator for the particlespawner (when colliding against something)128 Drone* drone = new Drone(pawn->getContext()); // this is neccessary because the projectiles fired need a valid creator for the particlespawner (when colliding against something) 129 129 drone->addTemplate(this->getDroneTemplate()); 130 130
Note: See TracChangeset
for help on using the changeset viewer.