From 4a314139489ee1240acd153f76819fc1b0c07aa5 Mon Sep 17 00:00:00 2001 From: puzl Date: Fri, 13 May 2005 00:05:09 +0000 Subject: [PATCH] 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 --- main/source/mod/AvHSpores.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/source/mod/AvHSpores.cpp b/main/source/mod/AvHSpores.cpp index 4d84f898..15206c4e 100644 --- a/main/source/mod/AvHSpores.cpp +++ b/main/source/mod/AvHSpores.cpp @@ -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();