mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-03 09:42:33 +00:00
#ifdef->#if.
This commit is contained in:
parent
2ccda84355
commit
dc0a442a4a
@ -915,7 +915,7 @@ void _DLLEXPORT HUD_PostRunCmd( struct local_state_s *from, struct local_state_s
|
|||||||
{
|
{
|
||||||
g_runfuncs = runfuncs;
|
g_runfuncs = runfuncs;
|
||||||
|
|
||||||
#if defined( CLIENT_WEAPONS )
|
#if CLIENT_WEAPONS
|
||||||
if( cl_lw && cl_lw->value )
|
if( cl_lw && cl_lw->value )
|
||||||
{
|
{
|
||||||
HUD_WeaponsPostThink( from, to, cmd, time, random_seed );
|
HUD_WeaponsPostThink( from, to, cmd, time, random_seed );
|
||||||
|
@ -328,7 +328,7 @@ void W_Precache( void )
|
|||||||
UTIL_PrecacheOtherWeapon( "weapon_xs" );
|
UTIL_PrecacheOtherWeapon( "weapon_xs" );
|
||||||
UTIL_PrecacheOther( "ammo_xencandy" );
|
UTIL_PrecacheOther( "ammo_xencandy" );
|
||||||
|
|
||||||
#if !defined( OEM_BUILD ) && !defined( HLDEMO_BUILD )
|
#if !OEM_BUILD && !HLDEMO_BUILD
|
||||||
if( g_pGameRules->IsDeathmatch() )
|
if( g_pGameRules->IsDeathmatch() )
|
||||||
{
|
{
|
||||||
UTIL_PrecacheOther( "weaponbox" );// container for dropped deathmatch weapons
|
UTIL_PrecacheOther( "weaponbox" );// container for dropped deathmatch weapons
|
||||||
|
@ -515,7 +515,7 @@ public:
|
|||||||
class CCrossbow : public CBasePlayerWeapon
|
class CCrossbow : public CBasePlayerWeapon
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
#ifndef CLIENT_DLL
|
#if !CLIENT_DLL
|
||||||
int Save( CSave &save );
|
int Save( CSave &save );
|
||||||
int Restore( CRestore &restore );
|
int Restore( CRestore &restore );
|
||||||
static TYPEDESCRIPTION m_SaveData[];
|
static TYPEDESCRIPTION m_SaveData[];
|
||||||
@ -770,7 +770,7 @@ public:
|
|||||||
|
|
||||||
virtual BOOL UseDecrement( void )
|
virtual BOOL UseDecrement( void )
|
||||||
{
|
{
|
||||||
#if defined( CLIENT_WEAPONS )
|
#if CLIENT_WEAPONS
|
||||||
return TRUE;
|
return TRUE;
|
||||||
#else
|
#else
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user