Browse Source

HL:Invasion Better fix for IsInGaz

invasion
Roy Shapiro 2 years ago
parent
commit
5cad247127
  1. 2
      cl_dll/hl/hl_baseentity.cpp
  2. 4
      dlls/player.cpp
  3. 2
      dlls/player.h

2
cl_dll/hl/hl_baseentity.cpp

@ -281,7 +281,7 @@ void CBasePlayer::FlashlightTurnOff( void ) { } @@ -281,7 +281,7 @@ void CBasePlayer::FlashlightTurnOff( void ) { }
void CBasePlayer::ForceClientDllUpdate( void ) { }
void CBasePlayer::ImpulseCommands() { }
//modif de Julien 7/7/01
BOOL CBasePlayer::IsInGaz( ) { return FALSE; } //Here
//BOOL CBasePlayer::IsInGaz( ) { return FALSE; } //Here
void CBasePlayer::CheatImpulseCommands( int iImpulse ) { }
int CBasePlayer::AddPlayerItem( CBasePlayerItem *pItem ) { return FALSE; }
int CBasePlayer::RemovePlayerItem( CBasePlayerItem *pItem, bool bCallHoster ) { return FALSE; }

4
dlls/player.cpp

@ -5420,7 +5420,7 @@ LINK_ENTITY_TO_CLASS( info_intermission, CInfoIntermission ) @@ -5420,7 +5420,7 @@ LINK_ENTITY_TO_CLASS( info_intermission, CInfoIntermission )
// pour les trigger_gaz
//=========================================
BOOL CBasePlayer::IsInGaz ( void )
/*BOOL CBasePlayer::IsInGaz ( void )
{
Vector vecPlayer = Center ();
@ -5447,7 +5447,7 @@ BOOL CBasePlayer::IsInGaz ( void ) @@ -5447,7 +5447,7 @@ BOOL CBasePlayer::IsInGaz ( void )
}
return FALSE;
}
}*/
//modif de Julien
//=====================================

2
dlls/player.h

@ -353,7 +353,7 @@ public: @@ -353,7 +353,7 @@ public:
// Night Vision Google
BOOL IsInGaz ( void ); //Must NOT be virtual, causes "unimplemented symbol" error in game.
//BOOL IsInGaz ( void ); //Must NOT be virtual, causes "unimplemented symbol" error in game.
void ShowVGUIordiMenu( int iparam1, int iparam2, int iparam3 );
void ThinkNVG ( void );

Loading…
Cancel
Save