mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 10:35:42 +00:00
Fix spore ammo name
This commit is contained in:
parent
bb4ef29201
commit
d89bd8e64a
@ -92,7 +92,7 @@ int CSporelauncher::AddToPlayer(CBasePlayer *pPlayer)
|
|||||||
int CSporelauncher::GetItemInfo(ItemInfo *p)
|
int CSporelauncher::GetItemInfo(ItemInfo *p)
|
||||||
{
|
{
|
||||||
p->pszName = STRING(pev->classname);
|
p->pszName = STRING(pev->classname);
|
||||||
p->pszAmmo1 = "spores";
|
p->pszAmmo1 = "Spores";
|
||||||
p->iMaxAmmo1 = SPORE_MAX_CARRY;
|
p->iMaxAmmo1 = SPORE_MAX_CARRY;
|
||||||
p->pszAmmo2 = NULL;
|
p->pszAmmo2 = NULL;
|
||||||
p->iMaxAmmo2 = -1;
|
p->iMaxAmmo2 = -1;
|
||||||
@ -407,4 +407,4 @@ class CSporeAmmo : public CBasePlayerAmmo
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
LINK_ENTITY_TO_CLASS(ammo_spore, CSporeAmmo);
|
LINK_ENTITY_TO_CLASS(ammo_spore, CSporeAmmo);
|
||||||
|
@ -1132,7 +1132,7 @@ void CBasePlayer::TabulateAmmo()
|
|||||||
ammo_556 = AmmoInventory( GetAmmoIndex( "556" ) );
|
ammo_556 = AmmoInventory( GetAmmoIndex( "556" ) );
|
||||||
ammo_762 = AmmoInventory( GetAmmoIndex( "762" ) );
|
ammo_762 = AmmoInventory( GetAmmoIndex( "762" ) );
|
||||||
ammo_shocks = AmmoInventory( GetAmmoIndex( "Shocks" ) );
|
ammo_shocks = AmmoInventory( GetAmmoIndex( "Shocks" ) );
|
||||||
ammo_spores = AmmoInventory( GetAmmoIndex( "Spore" ) );
|
ammo_spores = AmmoInventory( GetAmmoIndex( "Spores" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user