mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-22 20:51:36 +00:00
Mantis 0001021:
o The onos is now properly uncloaked while charging Added a check in AvHPlayer::InternalAlienThink to trigger the uncloak if charge is active. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@159 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
12f4be06be
commit
af75bded0e
1 changed files with 7 additions and 1 deletions
|
@ -5863,7 +5863,7 @@ void AvHPlayer::InternalAlienUpgradesCloakingThink()
|
|||
}
|
||||
// :joev
|
||||
else
|
||||
{
|
||||
{
|
||||
// If we have cloaking upgrade
|
||||
int theCloakingLevel = AvHGetAlienUpgradeLevel(this->pev->iuser4, MASK_UPGRADE_7);
|
||||
if(theCloakingLevel > 0)
|
||||
|
@ -6363,6 +6363,12 @@ void AvHPlayer::InternalAlienThink()
|
|||
this->mIsScreaming = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Uncloak if we are charging
|
||||
if(GetHasUpgrade(this->pev->iuser4, MASK_ALIEN_MOVEMENT))
|
||||
{
|
||||
this->TriggerUncloak();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue