mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-14 00:41:06 +00:00
o Heavy armour and jetpack are now visible in the readyroom.
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@583 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
52aace40c4
commit
9436d991b1
1 changed files with 2 additions and 2 deletions
|
@ -7209,7 +7209,7 @@ void AvHPlayer::SetModelFromState()
|
|||
{
|
||||
case AVH_USER3_MARINE_PLAYER:
|
||||
theModelName = kMarineSoldierModel;
|
||||
if(this->GetHasHeavyArmor())
|
||||
if(GetHasUpgrade(this->pev->iuser4, MASK_UPGRADE_13))
|
||||
{
|
||||
theModelName = kHeavySoldierModel;
|
||||
}
|
||||
|
@ -7259,7 +7259,7 @@ void AvHPlayer::SetModelFromState()
|
|||
|
||||
// Set body group for marine armor
|
||||
this->pev->body = 0;
|
||||
if(this->GetHasJetpack())
|
||||
if(this->pev->iuser3 == AVH_USER3_MARINE_PLAYER && GetHasUpgrade(this->pev->iuser4, MASK_UPGRADE_7))
|
||||
{
|
||||
this->pev->body = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue