From 8f11f279fb485f2b6e9134ef086e4973a2c1b73a Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 14 Aug 2001 19:27:49 +0000 Subject: [PATCH] --- source/player/pmjelly.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/player/pmjelly.cpp b/source/player/pmjelly.cpp index 5331bf842..4bfe63220 100644 --- a/source/player/pmjelly.cpp +++ b/source/player/pmjelly.cpp @@ -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,