This commit is contained in:
Paul 2001-08-13 21:14:10 +00:00
parent 7a9eca2cca
commit 76842932e1
2 changed files with 4 additions and 2 deletions

View file

@ -376,7 +376,7 @@ void CPlayerModeJellyLauncher::launchProjectile()
// Powered up, big shot
int i;
fireHeading=1024+(1024*playerFacing)-256;
fireHeading=1024+(1024*playerFacing)-POWER_UP_SHOT_ANGLE;
for(i=0;i<3;i++)
{
projectile=CPlayerProjectile::Create();
@ -387,7 +387,7 @@ void CPlayerModeJellyLauncher::launchProjectile()
(2*GameState::getOneSecondInFrames()));
projectile->setRGB( 255 + ( 128 << 8 ) + ( 255 << 16 ) );
fireHeading+=256;
fireHeading+=POWER_UP_SHOT_ANGLE;
m_player->useOneJelly();
}
}

View file

@ -51,6 +51,8 @@ private:
TIMEOUT_FOR_BIG_SHOT=60*4,
AMMO_AMOUNT_FOR_BIG_SHOT=3,
POWER_UP_SHOT_ANGLE=128,
// Gun in the UI flashes when powered up..
FLASHSPEED=25,
FLASHSCALE=75,