This commit is contained in:
Paul 2001-08-14 19:27:49 +00:00
parent 4dbd7f53b8
commit 8f11f279fb

View File

@ -371,13 +371,13 @@ void CPlayerModeJellyLauncher::launchProjectile()
launchPos=getPlayerPos();
launchPos.vx+=playerFacing*jellyLaunchPos.vx;
launchPos.vy+=jellyLaunchPos.vy;
if(m_firingTime==TIMEOUT_FOR_BIG_SHOT&&m_player->getJellyAmmo()>=AMMO_AMOUNT_FOR_BIG_SHOT)
if(m_firingTime==TIMEOUT_FOR_BIG_SHOT&&m_player->getJellyAmmo()>1)
{
// Powered up, big shot
int i;
fireHeading=1024+(1024*playerFacing)-POWER_UP_SHOT_ANGLE;
for(i=0;i<3;i++)
for(i=0;i<3&&m_player->getJellyAmmo();i++)
{
projectile=CPlayerProjectile::Create();
projectile->init(launchPos,