This commit is contained in:
parent
fa7ca199a8
commit
655939881a
7 changed files with 22 additions and 10 deletions
|
@ -177,6 +177,10 @@ void CJellyLauncherPickup::init()
|
|||
---------------------------------------------------------------------- */
|
||||
void CJellyLauncherPickup::collect(class CPlayer *_player)
|
||||
{
|
||||
if(!getHasBeenCollected())
|
||||
{
|
||||
_player->giveJellyAmmoFromWeapon();
|
||||
}
|
||||
_player->setMode(PLAYER_MODE_JELLY_LAUNCHER);
|
||||
CBaseWeaponSimplePickup::collect(_player);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue