Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 21, 2007, 6:23:04 PM (17 years ago)
Author:
nicolasc
Message:

Fixed Wooblegrid, transparancy problem (acid splashes) still exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/acid_splash.cc

    r10179 r10298  
    4343  this->registerObject(this, AcidSplash::_objectList);
    4444
    45  
     45  srand(time(0));   //initialize Random Nomber Generator
     46
    4647  //this->loadModel("models/projectiles/laser.obj");
    4748
     
    5253
    5354  this->grid = new Wobblegrid( 5);
    54   this->grid->setTexture( "maps/acid3.png");
    5555  this->grid->setParent( this);
     56
     57//  if (rand()/2 == 0) //!<Randomized Textrures
     58    this->grid->setTexture( "maps/acid3.png");
     59//   else
     60//     this->grid->setTexture( "maps/blub.png");
    5661
    5762  this->grid->toList(this->getOMListNumber());
Note: See TracChangeset for help on using the changeset viewer.