Mantis: 1019

o Spores no longer damage the commanders armor. ( bug 1019 )

I added a check to AvHSporeProjectile::SporeCloudThink to prevent them from acting on the commander.


git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@110 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2005-05-13 00:05:09 +00:00
parent be31c02eff
commit 4a31413948

View file

@ -131,7 +131,9 @@ void AvHSporeProjectile::SporeCloudThink()
if(theEntity->pev->team != this->pev->team)
{
// Don't do damage to heavy armor
if(!thePlayer->GetHasHeavyArmor())
// puzl: 1019
// Spores can't damage commanders
if(!thePlayer->GetHasHeavyArmor() && !thePlayer->GetIsInTopDownMode() )
{
// Spores don't stack, so don't do damage too often
float theTimeOfLastSporeDamage = thePlayer->GetTimeOfLastSporeDamage();