Changeset 10698 in orxonox.OLD for trunk/src/world_entities/projectiles/hbolt.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/hbolt.cc
r10618 r10698 46 46 this->setMinEnergy(10); 47 47 this->setHealthMax(0); 48 this->lifeSpan = 2.0;48 this->lifeSpan = 3.0; 49 49 50 50 this->angle = 0; … … 116 116 117 117 this->toList(OM_DEAD); 118 this->removeNode();118 // this->removeNode(); 119 119 HBolt::fastFactory->kill(this); 120 120 … … 177 177 glPushAttrib(GL_ENABLE_BIT); 178 178 glDisable(GL_LIGHTING); 179 //glDisable(GL_FOG);179 glDisable(GL_FOG); 180 180 181 181 glMatrixMode(GL_MODELVIEW); … … 184 184 // float matrix[4][4]; 185 185 glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z); 186 this->halo->draw(); 187 186 188 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 187 189 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); … … 189 191 // glMultMatrixf((float*)matrix); 190 192 this->getModel()->draw(); 191 this->halo->draw();192 193 193 194 glPopMatrix();
Note: See TracChangeset
for help on using the changeset viewer.