mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[renderer] Remove player_entity field
This was a hold-over from the gl mirror code.
This commit is contained in:
parent
ee51d06aa3
commit
c3f38e1c79
4 changed files with 0 additions and 4 deletions
|
@ -134,7 +134,6 @@ typedef struct vid_render_data_s {
|
|||
qboolean paused;
|
||||
int lineadj;
|
||||
struct entity_s *view_model;
|
||||
struct entity_s *player_entity;
|
||||
float gravity;
|
||||
double frametime;
|
||||
double realtime;
|
||||
|
|
|
@ -48,7 +48,6 @@ vid_render_data_t vid_render_data = {
|
|||
false, false, false,
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.0, 0.0,
|
||||
0,
|
||||
};
|
||||
|
|
|
@ -326,7 +326,6 @@ CL_RelinkEntities (void)
|
|||
|
||||
SET_REMOVE (&cl_forcelink, i);
|
||||
}
|
||||
r_data->player_entity = CL_GetEntity (cl.viewentity);
|
||||
cl.viewstate.player_entity = CL_GetEntity (cl.viewentity);
|
||||
cl.viewstate.player_origin
|
||||
= Transform_GetWorldPosition (cl.viewstate.player_entity->transform);
|
||||
|
|
|
@ -413,7 +413,6 @@ CL_LinkPlayers (void)
|
|||
// spawn light flashes, even ones coming from invisible objects
|
||||
if (j == cl.playernum) {
|
||||
org = cl.viewstate.player_origin;
|
||||
r_data->player_entity = ent;
|
||||
cl.viewstate.player_entity = ent;
|
||||
clientplayer = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue