diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 2e1acef6b..d51d5d912 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -5620,13 +5620,6 @@ static int QDECL CLQ2_EnumeratedSkin(const char *name, qofs_t size, time_t mtime return true; } -//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_NewTranslation @@ -5752,6 +5745,14 @@ void CL_NewTranslation (int slot) } #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