- Timestamp:
- Nov 18, 2009, 1:34:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/particles2/src/modules/weapons/projectiles/Rocket.h
r6082 r6087 110 110 inline float getDamage() const 111 111 { return this->damage_; } 112 virtual void fire(unsigned int firemode) { this->destroy(); }112 virtual void fire(unsigned int firemode); 113 113 114 114 private: … … 122 122 CameraPosition* camPosition_; 123 123 ConeCollisionShape* collisionShape_; 124 PlayerInfo*player_;124 WeakPtr<PlayerInfo> player_; 125 125 Timer destroyTimer_; 126 126 float lifetime_;
Note: See TracChangeset
for help on using the changeset viewer.