mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-11 22:47:30 +00:00
Re-enable rendering lights on the player you are viewing from...
This commit is contained in:
parent
4bd03bfff3
commit
c8fcdd5813
1 changed files with 18 additions and 18 deletions
|
@ -548,7 +548,7 @@ CL_LinkPacketEntities (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PROJECTILE PARSING / LINKING */
|
// PROJECTILE PARSING / LINKING ===============================================
|
||||||
|
|
||||||
void
|
void
|
||||||
CL_ClearProjectiles (void)
|
CL_ClearProjectiles (void)
|
||||||
|
@ -822,15 +822,6 @@ CL_LinkPlayers (void)
|
||||||
if (!info->name[0])
|
if (!info->name[0])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// the player object never gets added
|
|
||||||
if (j == cl.playernum) {
|
|
||||||
if (!Cam_DrawPlayer (-1)) // XXX
|
|
||||||
continue;
|
|
||||||
} else {
|
|
||||||
if (!Cam_DrawPlayer (j))
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// spawn light flashes, even ones coming from invisible objects
|
// spawn light flashes, even ones coming from invisible objects
|
||||||
if (j == cl.playernum) {
|
if (j == cl.playernum) {
|
||||||
VectorCopy (cl.simorg, org);
|
VectorCopy (cl.simorg, org);
|
||||||
|
@ -840,6 +831,15 @@ CL_LinkPlayers (void)
|
||||||
CL_NewDlight (j, org, state->effects, state->glow_size,
|
CL_NewDlight (j, org, state->effects, state->glow_size,
|
||||||
state->glow_color);
|
state->glow_color);
|
||||||
|
|
||||||
|
// the player object never gets added
|
||||||
|
if (j == cl.playernum) {
|
||||||
|
if (!Cam_DrawPlayer (-1)) // XXX
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
if (!Cam_DrawPlayer (j))
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (!state->modelindex)
|
if (!state->modelindex)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue