Changeset 7081 in orxonox.OLD for trunk/src/world_entities/projectiles
- Timestamp:
- Feb 7, 2006, 4:31:54 PM (19 years ago)
- Location:
- trunk/src/world_entities/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/guided_missile.cc
r7072 r7081 42 42 this->setMinEnergy(1); 43 43 this->setHealthMax(10); 44 this->lifeSpan = 10.0;44 this->lifeSpan = 4.0; 45 45 this->agility = 1; 46 46 this->maxVelocity = 75; -
trunk/src/world_entities/projectiles/hyperblast.cc
r7076 r7081 140 140 void Hyperblast::draw () const 141 141 { 142 if (this->lifeCycle < .1) 143 { 142 144 glMatrixMode(GL_MODELVIEW); 143 145 glPushMatrix(); … … 150 152 151 153 // glScalef(2.0, this->size, this->size); 152 //this->getModel()->draw();154 this->getModel()->draw(); 153 155 154 156 glPopMatrix(); 157 } 155 158 } 156 159
Note: See TracChangeset
for help on using the changeset viewer.