engine: client: don't save thirdperson value, it's not used anywhere

This commit is contained in:
Alibek Omarov 2024-10-07 21:00:16 +03:00
parent d7d96c02a2
commit 35ae9f4a64
2 changed files with 1 additions and 6 deletions

View file

@ -140,11 +140,7 @@ returns true if thirdperson is enabled
*/ */
qboolean CL_IsThirdPerson( void ) qboolean CL_IsThirdPerson( void )
{ {
cl.local.thirdperson = clgame.dllFuncs.CL_IsThirdPerson(); return clgame.dllFuncs.CL_IsThirdPerson() ? true : false;
if( cl.local.thirdperson )
return true;
return false;
} }
/* /*

View file

@ -129,7 +129,6 @@ typedef struct
// misc local info // misc local info
qboolean repredicting; // repredicting in progress qboolean repredicting; // repredicting in progress
qboolean thirdperson;
qboolean apply_effects; // local player will not added but we should apply their effects: flashlight etc qboolean apply_effects; // local player will not added but we should apply their effects: flashlight etc
float idealpitch; float idealpitch;
int viewmodel; int viewmodel;