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