mirror of
https://github.com/ENSL/NS.git
synced 2024-11-26 06:20:57 +00:00
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:
parent
be31c02eff
commit
4a31413948
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue