Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 18, 2009, 1:34:14 PM (14 years ago)
Author:
scheusso
Message:

changes in PlayerInfo and Rocket (and scene)
not yet working in network though

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/particles2/src/modules/weapons/projectiles/Rocket.h

    r6082 r6087  
    110110            inline float getDamage() const
    111111                { return this->damage_; }
    112             virtual void fire(unsigned int firemode) { this->destroy(); }
     112            virtual void fire(unsigned int firemode);
    113113           
    114114        private:
     
    122122            CameraPosition* camPosition_;
    123123            ConeCollisionShape* collisionShape_;
    124             PlayerInfo* player_;
     124            WeakPtr<PlayerInfo> player_;
    125125            Timer destroyTimer_;
    126126            float lifetime_;
Note: See TracChangeset for help on using the changeset viewer.