Fix spore ammo name

This commit is contained in:
Roman Chistokhodov 2018-03-21 00:13:19 +03:00
parent bb4ef29201
commit d89bd8e64a
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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" ) );
} }
/* /*