/*********************************************************************//**
*	Naboje
*	
*	author: Michal Jirous
*	date: 23.04.2009
*	file: ent_item_ammos.cpp
**********************************************************************/

#include "ent_items.h"
#include "ctrl_weapon_manager.h"

ItemAmmo9mm::ItemAmmo9mm()
{
	m_sClassName = "item_9mmammo";
	m_sSoundFilename = ITEM_AMMO_PICKUP;
	m_sModelFilename = "w_9mmclip.mdl";
}

void ItemAmmo9mm::give( CPlayer *pPlayer )
{
	if( pPlayer )
	{
		pPlayer->AmmoAndWeapons.addAmmo( AMMO_9MM, 20 );
	}
}
