mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-13 08:27:57 +00:00
Fix build.
This commit is contained in:
parent
3b15f21264
commit
09690ef1cf
@ -1423,7 +1423,7 @@ BEAM *pBeam2;
|
|||||||
/*
|
/*
|
||||||
void EV_EgonFire( event_args_t *args )
|
void EV_EgonFire( event_args_t *args )
|
||||||
{
|
{
|
||||||
int idx, /*iFireState,*/ iFireMode;
|
int idx, iFireState, iFireMode;
|
||||||
vec3_t origin;
|
vec3_t origin;
|
||||||
|
|
||||||
idx = args->entindex;
|
idx = args->entindex;
|
||||||
|
@ -227,14 +227,9 @@ void CPython::Reload( void )
|
|||||||
#else
|
#else
|
||||||
bUseScope = g_pGameRules->IsMultiplayer();
|
bUseScope = g_pGameRules->IsMultiplayer();
|
||||||
#endif
|
#endif
|
||||||
<<<<<<< HEAD
|
|
||||||
int iResult = DefaultReload( PYTHON_MAX_CLIP, PYTHON_RELOAD, 2.0, bUseScope );
|
|
||||||
if( iResult )
|
|
||||||
=======
|
|
||||||
if( DefaultReload( PYTHON_MAX_CLIP, PYTHON_RELOAD, 2.0, bUseScope ) )
|
if( DefaultReload( PYTHON_MAX_CLIP, PYTHON_RELOAD, 2.0, bUseScope ) )
|
||||||
>>>>>>> travis
|
|
||||||
{
|
{
|
||||||
m_flSoundDelay = gpGlobals->time + 1.5;
|
m_flSoundDelay = 1.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ class CItemKevlar : public CItem
|
|||||||
(pPlayer->pev->weapons & (1 << WEAPON_SUIT)))
|
(pPlayer->pev->weapons & (1 << WEAPON_SUIT)))
|
||||||
{
|
{
|
||||||
pPlayer->pev->armorvalue += MAX_NORMAL_BATTERY;
|
pPlayer->pev->armorvalue += MAX_NORMAL_BATTERY;
|
||||||
pPlayer->pev->armorvalue = min(pPlayer->pev->armorvalue, MAX_NORMAL_BATTERY);
|
pPlayer->pev->armorvalue = Q_min(pPlayer->pev->armorvalue, MAX_NORMAL_BATTERY);
|
||||||
|
|
||||||
EMIT_SOUND(pPlayer->edict(), CHAN_ITEM, "player/kevlar_zipper.wav", 1, ATTN_NORM);
|
EMIT_SOUND(pPlayer->edict(), CHAN_ITEM, "player/kevlar_zipper.wav", 1, ATTN_NORM);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user