Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
560 B

#include "extdll.h"
#include "util.h"
#include "cbase.h"
#include "unpredictedweapon.h"
BOOL CBasePlayerWeaponU::UseDecrement()
{
return FALSE;
}
float CBasePlayerWeaponU::UTIL_WeaponTimeBase()
{
return gpGlobals->time;
}
TYPEDESCRIPTION CBasePlayerWeaponU::m_SaveData[] =
{
DEFINE_FIELD( CBasePlayerWeapon, m_flNextPrimaryAttack, FIELD_TIME ),
DEFINE_FIELD( CBasePlayerWeapon, m_flNextSecondaryAttack, FIELD_TIME ),
DEFINE_FIELD( CBasePlayerWeapon, m_flTimeWeaponIdle, FIELD_TIME ),
};
IMPLEMENT_SAVERESTORE( CBasePlayerWeaponU, CBasePlayerWeapon )