mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Revert unneeded changes.
This commit is contained in:
parent
6909ca4f29
commit
8b876213b9
@ -283,6 +283,11 @@ class CItemBattery : public CItem
|
||||
}
|
||||
BOOL MyTouch( CBasePlayer *pPlayer )
|
||||
{
|
||||
if( pPlayer->pev->deadflag != DEAD_NO )
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if( ( pPlayer->pev->armorvalue < MAX_NORMAL_BATTERY ) &&
|
||||
( pPlayer->pev->weapons & ( 1 << WEAPON_SUIT ) ) )
|
||||
{
|
||||
|
@ -1190,6 +1190,7 @@ void CBaseTrigger::CounterUse( CBaseEntity *pActivator, CBaseEntity *pCaller, US
|
||||
return;
|
||||
|
||||
BOOL fTellActivator =
|
||||
( m_hActivator != 0 ) &&
|
||||
FClassnameIs( m_hActivator->pev, "player" ) &&
|
||||
!FBitSet( pev->spawnflags, SPAWNFLAG_NOMESSAGE );
|
||||
if( m_cTriggersLeft != 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user