Browse Source

Fix build

hlzbot-dirty
mittorn 9 years ago
parent
commit
af5b38cbbd
  1. 2
      dlls/teamplay_gamerules.cpp
  2. 5
      dlls/weapons.cpp

2
dlls/teamplay_gamerules.cpp

@ -149,7 +149,7 @@ void CHalfLifeTeamplay :: Think ( void ) @@ -149,7 +149,7 @@ void CHalfLifeTeamplay :: Think ( void )
//=========================================================
BOOL CHalfLifeTeamplay :: ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
{
#ifdef NO_VOICEGAMEMGR
#ifndef NO_VOICEGAMEMGR
if(g_VoiceGameMgr.ClientCommand(pPlayer, pcmd))
return TRUE;
#endif

5
dlls/weapons.cpp

@ -557,11 +557,6 @@ float CBasePlayerItem::TouchGravGun( CBaseEntity *attacker, int stage ) @@ -557,11 +557,6 @@ float CBasePlayerItem::TouchGravGun( CBaseEntity *attacker, int stage )
return 200;
}
UTIL_SetOrigin( pev, pev->origin );// link into world.
SetTouch( &CBasePlayerItem::DefaultTouch);
SetThink( NULL );
}
//=========================================================
// AttemptToMaterialize - the item is trying to rematerialize,
// should it do so now or wait longer?

Loading…
Cancel
Save