mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
some diff cleanups: use cl.viewentity instead of cl.playernum + 1 and some
white space
This commit is contained in:
parent
63a4cc271f
commit
e07f91155b
2 changed files with 2 additions and 3 deletions
|
@ -372,7 +372,7 @@ CL_UpdateBeams (void)
|
|||
continue;
|
||||
|
||||
// if coming from the player, update the start position
|
||||
if (b->entity == cl.playernum + 1) { // entity 0 is the world
|
||||
if (b->entity == cl.viewentity) {
|
||||
VectorCopy (cl.simorg, b->start);
|
||||
}
|
||||
// calculate pitch and yaw
|
||||
|
|
|
@ -168,8 +168,7 @@ R_SplitEntityOnNode2 (mnode_t *node)
|
|||
if (node->contents < 0) {
|
||||
if (node->contents != CONTENTS_SOLID)
|
||||
r_pefragtopnode = node; // we've reached a non-solid leaf, so
|
||||
// it's
|
||||
// visible and not BSP clipped
|
||||
// it's visible and not BSP clipped
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue