Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2013, 3:09:30 PM (10 years ago)
Author:
zifloria
Message:

best game eva

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/invaders/src/modules/invader/InvaderWeapon.cc

    r9868 r9874  
    6363        assert( this->getWeapon() && this->getWeapon()->getWeaponPack() && this->getWeapon()->getWeaponPack()->getWeaponSystem() && this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn() );
    6464
    65         // Create the projectile.
    66         Projectile* projectile = new Projectile(this->getContext());
    67         Model* model = new Model(projectile->getContext());
     65        // Create the projectile.projectile
     66        projectile = new Projectile(this->getContext());
     67        WeakPtr<Model> model = new Model(projectile->getContext());
    6868        model->setMeshSource(mesh_);
    6969        model->setCastShadows(false);
Note: See TracChangeset for help on using the changeset viewer.