diff --git a/source/player/pmjelly.cpp b/source/player/pmjelly.cpp index ed9090c89..5331bf842 100644 --- a/source/player/pmjelly.cpp +++ b/source/player/pmjelly.cpp @@ -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(); } } diff --git a/source/player/pmjelly.h b/source/player/pmjelly.h index 20940fd5c..97edb7d0d 100644 --- a/source/player/pmjelly.h +++ b/source/player/pmjelly.h @@ -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,