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:
puzl 2006-08-26 15:33:29 +00:00
parent 52aace40c4
commit 9436d991b1

View file

@ -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;
}