From d89bd8e64af09836aff0b53307e2e0c721a85d8f Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Wed, 21 Mar 2018 00:13:19 +0300 Subject: [PATCH] Fix spore ammo name --- dlls/gearbox/sporelauncher.cpp | 4 ++-- dlls/player.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/gearbox/sporelauncher.cpp b/dlls/gearbox/sporelauncher.cpp index 86274b1b..20f886bf 100644 --- a/dlls/gearbox/sporelauncher.cpp +++ b/dlls/gearbox/sporelauncher.cpp @@ -92,7 +92,7 @@ int CSporelauncher::AddToPlayer(CBasePlayer *pPlayer) int CSporelauncher::GetItemInfo(ItemInfo *p) { p->pszName = STRING(pev->classname); - p->pszAmmo1 = "spores"; + p->pszAmmo1 = "Spores"; p->iMaxAmmo1 = SPORE_MAX_CARRY; p->pszAmmo2 = NULL; p->iMaxAmmo2 = -1; @@ -407,4 +407,4 @@ class CSporeAmmo : public CBasePlayerAmmo } }; -LINK_ENTITY_TO_CLASS(ammo_spore, CSporeAmmo); \ No newline at end of file +LINK_ENTITY_TO_CLASS(ammo_spore, CSporeAmmo); diff --git a/dlls/player.cpp b/dlls/player.cpp index 37945625..cbd8e5d6 100644 --- a/dlls/player.cpp +++ b/dlls/player.cpp @@ -1132,7 +1132,7 @@ void CBasePlayer::TabulateAmmo() ammo_556 = AmmoInventory( GetAmmoIndex( "556" ) ); ammo_762 = AmmoInventory( GetAmmoIndex( "762" ) ); ammo_shocks = AmmoInventory( GetAmmoIndex( "Shocks" ) ); - ammo_spores = AmmoInventory( GetAmmoIndex( "Spore" ) ); + ammo_spores = AmmoInventory( GetAmmoIndex( "Spores" ) ); } /*