FF Diff Viewer

Comparing 2006 Base SDK to Fortress Forever 2.46

cl_dll/cdll_util.cpp

798081828384
return 0; // game not started yet } bool IsLocalPlayerSpectator( void ) { C_BasePlayer * player = C_BasePlayer::GetLocalPlayer();
798081828384858687888990919293949596979899
return 0; // game not started yet } int GetLocalPlayerOrObserverTargetIndex( void ) { C_BasePlayer * player = C_BasePlayer::GetLocalPlayer(); if ( player ) { if (player->IsObserver() && player->GetObserverMode() == OBS_MODE_IN_EYE) return GetSpectatorTarget(); else return player->entindex(); } else return 0; // game not started yet } bool IsLocalPlayerSpectator( void ) { C_BasePlayer * player = C_BasePlayer::GetLocalPlayer();