All pastes #66955 Raw Edit

Unnamed

public text v1 · immutable
#66955 ·published 2006-06-18 20:40 UTC
rendered paste body
<Mr_Molez>   FiringInfo myInfo(*myTank, 0);
<Mr_Molez>   if (myInfo.flagType != Flags::ShockWave) {
<Mr_Molez>      if (!BZDB.isTrue(StateDatabase::BZDB_SHOTSKEEPVERTICALV))
<Mr_Molez>                 myInfo.shot.vel[2] = 0.0f;
<Mr_Molez>    myInfo.flagType = Flags::Laser;
<Mr_Molez> myInfo.lifetime /= 100;
<Mr_Molez>    const float cs = colorScale(myInfo.shot.pos[2],
<Mr_Molez>                 muzzleHeight);
<Mr_Molez>   glColor3f(0.3f * cs, 1.1f * cs, 0.1f * cs);
<Mr_Molez>    LocalShotPath myPath(myInfo);
<Mr_Molez>    myPath.radarRender();
<Mr_Molez>   }oops
<Mr_Molez> glad that wasnt in #bzflag lol