Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2007, 5:02:18 PM (17 years ago)
Author:
snellen
Message:

lbolt,hbolt,spikeball: set visibility false in constructor. the acid splash works so far, all the other projectiles need testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/projectiles/spike_ball.cc

    r10368 r10505  
    6060  this->halo->setSize(2, 2);
    6161  this->halo->setTexture("hbolt_halo.png");
     62  this->halo->setVisibiliy(false);
    6263
    6364  this->setFragments(26);
    6465
    6566  this->size = 4;
     67
    6668
    6769  this->launcher = new Vector [this->getFragments()];
     
    9395void SpikeBall::activate()
    9496{
     97  this->halo->setVisibiliy(true);
    9598  if (unlikely(SpikeBall::explosionParticles == NULL))
    9699  {
     
    139142void SpikeBall::deactivate()
    140143{
     144  this->halo->setVisibiliy(false);
    141145  assert (SpikeBall::explosionParticles != NULL);
    142146  //SpikeBall::explosionParticles->removeEmitter(this->emitter);
Note: See TracChangeset for help on using the changeset viewer.