Move CL_TryTrackNum again where it doesn't cause further complaints
This commit is contained in:
parent
4950f5971b
commit
53420aab02
1 changed files with 8 additions and 8 deletions
|
@ -5447,6 +5447,14 @@ static void CLQ2_ParseStartSoundPacket(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//returns the player if they're not spectating.
|
||||||
|
static int CL_TryTrackNum(playerview_t *pv)
|
||||||
|
{
|
||||||
|
if (pv->spectator && pv->cam_state != CAM_FREECAM && pv->cam_spec_track >= 0)
|
||||||
|
return pv->cam_spec_track;
|
||||||
|
return pv->playernum;
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(NQPROT) || defined(PEXT_SOUNDDBL)
|
#if defined(NQPROT) || defined(PEXT_SOUNDDBL)
|
||||||
static void CLNQ_ParseStartSoundPacket(void)
|
static void CLNQ_ParseStartSoundPacket(void)
|
||||||
{
|
{
|
||||||
|
@ -5745,14 +5753,6 @@ void CL_NewTranslation (int slot)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//returns the player if they're not spectating.
|
|
||||||
static int CL_TryTrackNum(playerview_t *pv)
|
|
||||||
{
|
|
||||||
if (pv->spectator && pv->cam_state != CAM_FREECAM && pv->cam_spec_track >= 0)
|
|
||||||
return pv->cam_spec_track;
|
|
||||||
return pv->playernum;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
==============
|
==============
|
||||||
CL_UpdateUserinfo
|
CL_UpdateUserinfo
|
||||||
|
|
Loading…
Reference in a new issue