Changeset 10333 in orxonox.OLD for branches/playability/src/world_entities/projectiles/acid_splash.cc
- Timestamp:
- Jan 24, 2007, 3:29:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/acid_splash.cc
r10328 r10333 55 55 this->grid->setParent( this); 56 56 57 // if (rand()/2 == 0) //!<Randomized Textrures 58 this->grid->setTexture( "maps/acid3.png"); 57 58 int rnd = rand()/3; 59 60 switch (rnd){ 61 case 0: 62 this->grid->setTexture( "maps/acid2.png"); 63 break; 64 case 1: 65 this->grid->setTexture( "maps/acid3.png"); 66 break; 67 case 2: 68 this->grid->setTexture( "maps/blub.png"); 69 break; 70 default: 71 this->grid->setTexture( "maps/acid2.png"); 72 } 73 // if (rand()/2 == 0) //!<Randomized Textrures 74 // this->grid->setTexture( "maps/acid3.png"); 59 75 // else 60 76 // this->grid->setTexture( "maps/blub.png"); 61 77 62 78 this->grid->toList(OM_ENVIRON); //this->getOMListNumber()); 63 //this->toList(OM_ENVIRON);79 this->toList(OM_ENVIRON); 64 80 } 65 81 … … 113 129 this->deactivate(); 114 130 115 return;131 // return; 116 132 117 133 //dynamic_cast<SpaceShip*>(entity)->damage( this->getPhysDamage(), this->getElecDamage());
Note: See TracChangeset
for help on using the changeset viewer.