Browse Source

Fix build.

visitors
Night Owl 7 years ago
parent
commit
09690ef1cf
  1. 2
      cl_dll/ev_hldm.cpp
  2. 7
      dlls/python.cpp
  3. 2
      dlls/visitors/kevlar.cpp

2
cl_dll/ev_hldm.cpp

@ -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;

7
dlls/python.cpp

@ -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;
} }
} }

2
dlls/visitors/kevlar.cpp

@ -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…
Cancel
Save