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 )
//========================================================= //=========================================================
BOOL CHalfLifeTeamplay :: ClientCommand( CBasePlayer *pPlayer, const char *pcmd ) BOOL CHalfLifeTeamplay :: ClientCommand( CBasePlayer *pPlayer, const char *pcmd )
{ {
#ifdef NO_VOICEGAMEMGR #ifndef NO_VOICEGAMEMGR
if(g_VoiceGameMgr.ClientCommand(pPlayer, pcmd)) if(g_VoiceGameMgr.ClientCommand(pPlayer, pcmd))
return TRUE; return TRUE;
#endif #endif

5
dlls/weapons.cpp

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

Loading…
Cancel
Save